blob: 0ca91e085528af16c7d5f05bf83f3e20004295e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$NetBSD: patch-ag,v 1.1 2006/11/13 15:16:20 drochner Exp $
--- tools/dbus-monitor.c.orig 2006-11-09 00:10:48.000000000 +0100
+++ tools/dbus-monitor.c
@@ -265,8 +265,10 @@ main (int argc, char *argv[])
exit (1);
}
+#if 0 /* XXX this doesn't work because the loop around poll() is not left */
/* we handle SIGINT so exit() is reached and flushes stdout */
signal (SIGINT, sigint_handler);
+#endif
while (dbus_connection_read_write_dispatch(connection, -1)
&& !sigint_received)
;
|