From 101f1612c9aba9601701a504e57b4727013ed3a5 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Wed, 15 Nov 2017 12:14:16 +0000 Subject: [PATCH] _dbus_test_diag: Flush stdout after each diagnostic If we crash, we'll want to know what the most recent diagnostic was. Signed-off-by: Simon McVittie Bug: https://bugs.freedesktop.org/show_bug.cgi?id=103601 --- dbus/dbus-test-tap.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dbus/dbus-test-tap.c b/dbus/dbus-test-tap.c index 710e5eb8..b728fa11 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); } /* -- 2.15.0