Fix test-bus segfault_service_no_auto_start test on windows.
authorRalf Habacker <ralf.habacker@freenet.de>
Mon, 9 Nov 2015 19:38:03 +0000 (20:38 +0100)
committerRalf Habacker <ralf.habacker@freenet.de>
Wed, 11 Nov 2015 11:20:07 +0000 (12:20 +0100)
commitdcdb29a1051810ac125b7e281e7688687df0ed70
tree3614c6461306d638b7ba4f4e7b167d62b46ebc47
parente2e31794924a15bfaeadf2867ea3dd174db2d31f
Fix test-bus segfault_service_no_auto_start test on windows.

Windows returns unhandled exceptions from a running child
by specific exit codes and not by signals as on UNIX.

Therefore we use DBUS_ERROR_SPAWN_CHILD_EXITED for propagating
unhandled exceptions to the parent too.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=92721
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
bus/dispatch.c