summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2017-11-15 12:14:16 +0000
committerSimon McVittie <smcv@collabora.com>2017-11-15 13:18:22 +0000
commit2b98220e5f92d044b110501899c4e89919ca1fdd (patch)
treed6983a1e7ba0aa20a2b6bbbf87a30a878669f686
parent2aa190aef6eadac4e1751f1bf3ea84d93eac6688 (diff)
_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 <withnall@endlessm.com> Signed-off-by: Simon McVittie <smcv@collabora.com> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=103601
-rw-r--r--dbus/dbus-test-tap.c1
1 files changed, 1 insertions, 0 deletions
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);
}
/*