From 03b9ca6d4ecf2577958530b8390d675c73a58825 Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Sat, 5 Apr 2003 00:37:17 +0000 Subject: 2003-04-04 Havoc Pennington * dbus/dbus-spawn.c, dbus/dbus-spawn.h: Change dbus_spawn to return a "babysitter" object that is used to monitor the status of the spawned process and reap it when required. * test/test-segfault.c, test/test-exit.c, test/test-sleep-forever.c: binaries that do various lame things, used in the test suite. * dbus/dbus-sysdeps.c: kill _dbus_errno_to_string() --- bus/activation.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bus') diff --git a/bus/activation.c b/bus/activation.c index ef5c1730..9ae44225 100644 --- a/bus/activation.c +++ b/bus/activation.c @@ -619,9 +619,9 @@ bus_activation_activate_service (BusActivation *activation, argv[0] = entry->exec; argv[1] = NULL; - if (!_dbus_spawn_async (argv, - child_setup, activation, - error)) + if (!_dbus_spawn_async_with_babysitter (NULL, argv, + child_setup, activation, + error)) { _dbus_hash_table_remove_string (activation->pending_activations, pending_activation->service_name); -- cgit