[patch] Make dbus-monitor flush its output on CTRL-C
olli.salli at collabora.co.uk
Wed Nov 8 09:11:28 PST 2006
I noticed that when you run dbus-monitor redirecting its output to a file and terminate it, its output in the file will be truncated due to stdio buffers not getting flushed. This patch adds a SIGINT handler which flushes the buffers and exits, so the full output is always present.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1142 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/dbus/attachments/20061108/9175be93/dbus-monitor-flush-on-sigint.bin
More information about the dbus