summaryrefslogtreecommitdiff
path: root/sysutils/dbus/patches/patch-ag
blob: 72da4e8c07b619abd78f336e77b69d9aaffdfcbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$NetBSD: patch-ag,v 1.3 2008/06/19 01:56:44 bjs Exp $

--- tools/dbus-monitor.c.orig	2008-04-04 11:24:08.000000000 -0400
+++ tools/dbus-monitor.c
@@ -91,7 +91,7 @@ typedef enum
   PROFILE_ATTRIBUTE_FLAG_PATH = 16,
   PROFILE_ATTRIBUTE_FLAG_INTERFACE = 32,
   PROFILE_ATTRIBUTE_FLAG_MEMBER = 64,
-  PROFILE_ATTRIBUTE_FLAG_ERROR_NAME = 128,
+  PROFILE_ATTRIBUTE_FLAG_ERROR_NAME = 128
 } ProfileAttributeFlags;
 
 static void
@@ -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)
     ;