$NetBSD: patch-ag,v 1.5 2008/08/16 16:38:01 drochner Exp $ --- tools/dbus-monitor.c.orig 2008-04-04 11:24:08.000000000 -0400 +++ tools/dbus-monitor.c @@ -295,8 +295,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) ;