Bug 21347 - Don't fail autolaunching if process has SIGCHLD handler
authorKurt Miller <kurt@intricatesoftware.com>
Fri, 10 Jul 2009 23:14:10 +0000 (19:14 -0400)
committerColin Walters <walters@verbum.org>
Tue, 14 Jul 2009 19:39:26 +0000 (15:39 -0400)
commita8b1b8c0b2d3b13bdbb96eb7a9cbea1ea765b6f8
tree250257900255e916552bea9b9da4238b00697338
parent951b0c8007fca2a5add7402cb1e260bdefaf0461
Bug 21347 - Don't fail autolaunching if process has SIGCHLD handler

If other code in the process set a global SIGCHLD handler, it
will make autolaunching fail spuriously due to waitpid() failing.

This fix will temporarily block SIGCHLD delivery.

Signed-off-by: Colin Walters <walters@verbum.org>
(cherry picked from commit 644fc38b249b490981becda4b2de5261865bba23)
dbus/dbus-sysdeps-unix.c