From: Eric Biggers Date: Thu, 25 Apr 2013 03:48:12 +0000 (-0500) Subject: wimlib_vmsg(): fflush stderr X-Git-Tag: v1.3.3~38 X-Git-Url: https://wimlib.net/git/?p=wimlib;a=commitdiff_plain;h=87836fae536b056cde1e84904a63ace9f8b7f707 wimlib_vmsg(): fflush stderr --- diff --git a/src/util.c b/src/util.c index 30f2296b..4733ba33 100644 --- a/src/util.c +++ b/src/util.c @@ -158,6 +158,7 @@ wimlib_vmsg(const tchar *tag, const tchar *format, tfprintf(stderr, T(": %"TS), buf); } tputc(T('\n'), stderr); + fflush(stderr); errno = errno_save; #ifndef DEBUG } @@ -217,7 +218,6 @@ wimlib_warning_with_errno(const tchar *format, ...) void wimlib_debug(const tchar *file, int line, const char *func, const tchar *format, ...) { - va_list va; tchar buf[tstrlen(file) + strlen(func) + 30];