diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-09-02 05:29:02 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-09-02 05:29:02 +0200 |
commit | 87e32c3f8a7f0c6fb16ad7a5fd0f2047f659bb2b (patch) | |
tree | 1c3239d05b52d187d2088c476037acdb104603ec /src | |
parent | silence obj/deps.mk rule (diff) | |
download | slibc-87e32c3f8a7f0c6fb16ad7a5fd0f2047f659bb2b.tar.gz slibc-87e32c3f8a7f0c6fb16ad7a5fd0f2047f659bb2b.tar.bz2 slibc-87e32c3f8a7f0c6fb16ad7a5fd0f2047f659bb2b.tar.xz |
assert shall flush all streams
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/assert.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/assert.c b/src/assert.c index 19a34f8..8e7561a 100644 --- a/src/assert.c +++ b/src/assert.c @@ -52,6 +52,7 @@ void __assert_fail(const char* expression, int errnum, const char* file, int lin tty, func, tty, tty, expression != NULL, (expression ? expression : stderror(errnum)), tty); + fflush(NULL); /* Flush all streams. */ abort(); } |