dbus/tools dbus-print-message.c,1.8,1.9
Colin Walters
walters at freedesktop.org
Fri Aug 26 08:41:33 PDT 2005
Update of /cvs/dbus/dbus/tools
In directory gabe:/tmp/cvs-serv29357/tools
Modified Files:
dbus-print-message.c
Log Message:
2005-08-26 Colin Walters <walters at 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.
Index: dbus-print-message.c
===================================================================
RCS file: /cvs/dbus/dbus/tools/dbus-print-message.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- dbus-print-message.c 6 Jul 2005 21:27:45 -0000 1.8
+++ dbus-print-message.c 26 Aug 2005 15:41:31 -0000 1.9
@@ -189,6 +189,7 @@
dbus_message_iter_init (message, &iter);
print_iter (&iter, literal, 1);
+ fflush (stdout);
}
More information about the dbus-commit
mailing list