diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | tools/dbus-print-message.c | 1 |
2 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,9 @@ +2005-08-26 Colin Walters <walters@verbum.org> + + * tools/dbus-print-message.c (print_message): Flush stdout + after printing a message, so that redirecting to a file, then + hitting Ctrl-C works. + 2005-08-25 John (J5) Palmieri <johnp@redhat.com> * python/dbus_bindings.pyx: Tracked down a major memleak and fixed it diff --git a/tools/dbus-print-message.c b/tools/dbus-print-message.c index e201fda3..17531c17 100644 --- a/tools/dbus-print-message.c +++ b/tools/dbus-print-message.c @@ -189,6 +189,7 @@ print_message (DBusMessage *message, dbus_bool_t literal) dbus_message_iter_init (message, &iter); print_iter (&iter, literal, 1); + fflush (stdout); } |