summaryrefslogtreecommitdiffstats
path: root/dbus/Makefile.am
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-07-27 21:30:52 +0200
committerLennart Poettering <lennart@poettering.net>2009-10-17 00:28:28 +0200
commit904319153eb271202853fc15c49b6d8199d3c78e (patch)
treee46b54003b64a8cee005f1fe0a884a4bef430cf9 /dbus/Makefile.am
parent03cc20707a3e7b2d8629e84d7a766f41edb8b444 (diff)
dbus-monitor: get rid of SIGINT madness
The current SIGINT handling of dbus-monitor ain't making too many people happy since it defers the exit to the next msg received -- which might be quite some time away often enough. This patch replaces the SIGINT handling by simply enabling line-buffered IO for STDOUT so that even if you redirect dbus-monitor into a file no lines get accidently lost and the effect of C-c is still immediate. halfline came up with the great idea to use setvbuf here instead of fflush()ing after each printf().
Diffstat (limited to 'dbus/Makefile.am')
0 files changed, 0 insertions, 0 deletions