projects
/
platform
/
upstream
/
dbus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8cc9c39
)
Fixed assert raised with msvc 2008 on windows.
author
Ralf Habacker
<ralf.habacker@freenet.de>
Mon, 10 May 2010 20:56:11 +0000
(22:56 +0200)
committer
Ralf Habacker
<ralf.habacker@freenet.de>
Mon, 10 May 2010 20:57:48 +0000
(22:57 +0200)
tools/dbus-monitor.c
patch
|
blob
|
history
diff --git
a/tools/dbus-monitor.c
b/tools/dbus-monitor.c
index
41a7039
..
127e82d
100644
(file)
--- a/
tools/dbus-monitor.c
+++ b/
tools/dbus-monitor.c
@@
-232,7
+232,12
@@
main (int argc, char *argv[])
* do dbus-monitor > file, then send SIGINT via Control-C, they
* don't lose the last chunk of messages.
*/
+
+#ifdef DBUS_WIN
+ setvbuf (stdout, NULL, _IONBF, 0);
+#else
setvbuf (stdout, NULL, _IOLBF, 0);
+#endif
for (i = 1; i < argc; i++)
{