dbus/tools dbus-launch.c,1.15,1.16
John Palmieri
johnp at kemper.freedesktop.org
Fri Sep 1 13:47:11 PDT 2006
Update of /cvs/dbus/dbus/tools
In directory kemper:/tmp/cvs-serv7298/tools
Modified Files:
dbus-launch.c
Log Message:
* tools/dbus-launch.c: Add a sigterm handler (patch from Frederic Crozat
<fcrozat at mandriva dot com>)
Index: dbus-launch.c
===================================================================
RCS file: /cvs/dbus/dbus/tools/dbus-launch.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- dbus-launch.c 8 Aug 2006 21:30:31 -0000 1.15
+++ dbus-launch.c 1 Sep 2006 20:47:09 -0000 1.16
@@ -311,6 +311,7 @@
switch (sig)
{
case SIGHUP:
+ case SIGTERM:
got_sighup = TRUE;
break;
}
@@ -336,6 +337,7 @@
act.sa_mask = empty_mask;
act.sa_flags = 0;
sigaction (SIGHUP, &act, NULL);
+ sigaction (SIGTERM, &act, NULL);
#ifdef DBUS_BUILD_X11
xdisplay = XOpenDisplay (NULL);
More information about the dbus-commit
mailing list