From: Simon McVittie Date: Wed, 15 Nov 2017 12:14:16 +0000 (+0000) Subject: _dbus_test_diag: Flush stdout after each diagnostic X-Git-Tag: dbus-1.13.0~93 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2b98220e5f92d044b110501899c4e89919ca1fdd;p=thirdparty%2Fdbus.git _dbus_test_diag: Flush stdout after each diagnostic If we crash, we'll want to know what the most recent diagnostic was. Reviewed-by: Philip Withnall Signed-off-by: Simon McVittie Bug: https://bugs.freedesktop.org/show_bug.cgi?id=103601 --- diff --git a/dbus/dbus-test-tap.c b/dbus/dbus-test-tap.c index 710e5eb87..b728fa116 100644 --- a/dbus/dbus-test-tap.c +++ b/dbus/dbus-test-tap.c @@ -75,6 +75,7 @@ _dbus_test_diag (const char *format, vprintf (format, ap); va_end (ap); printf ("\n"); + fflush (stdout); } /*