From eb63ba5039c8afe61210cf2b217ec75b4a86356e Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Fri, 11 Apr 2003 03:05:58 +0000 Subject: 2003-04-10 Havoc Pennington * dbus/dbus-spawn.c (_dbus_spawn_async_with_babysitter): move all the possible parent failures before we fork, so that we don't fail to create a babysitter after creating the child. * bus/activation.c (bus_activation_activate_service): kill child if we don't successfully complete the activation. --- dbus/dbus-connection.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dbus/dbus-connection.c') diff --git a/dbus/dbus-connection.c b/dbus/dbus-connection.c index 5a6277de..9595f48a 100644 --- a/dbus/dbus-connection.c +++ b/dbus/dbus-connection.c @@ -1527,9 +1527,9 @@ dbus_connection_send_with_reply_and_block (DBusConnection *connection, _dbus_get_current_time (&tv_sec, &tv_usec); if (tv_sec < start_tv_sec) - ; /* clock set backward, bail out */ + _dbus_verbose ("dbus_connection_send_with_reply_and_block(): clock set backward\n"); else if (connection->disconnect_message_link == NULL) - ; /* we're disconnected, bail out */ + _dbus_verbose ("dbus_connection_send_with_reply_and_block(): disconnected\n"); else if (tv_sec < end_tv_sec || (tv_sec == end_tv_sec && tv_usec < end_tv_usec)) { -- cgit