summaryrefslogtreecommitdiffstats
path: root/bus/main.c
diff options
context:
space:
mode:
authorJohn (J5) Palmieri <johnp@redhat.com>2006-09-07 18:24:11 +0000
committerJohn (J5) Palmieri <johnp@redhat.com>2006-09-07 18:24:11 +0000
commitd3ae8527461b48a00a153d511c57952a8197c921 (patch)
treea1e807f2586299300fce2e9f15f355434690a316 /bus/main.c
parent1eae184450a585f10c8988613e0f7259e1d6066a (diff)
* Clean up close calls to use _dbus_close (Patch from
Kimmo Hämäläinen <kimmo dot hamalainen at nokia dot com>)
Diffstat (limited to 'bus/main.c')
-rw-r--r--bus/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/bus/main.c b/bus/main.c
index b4ace1e4..adf49470 100644
--- a/bus/main.c
+++ b/bus/main.c
@@ -193,6 +193,9 @@ setup_reload_pipe (DBusLoop *loop)
exit (1);
}
+ _dbus_fd_set_close_on_exec (reload_pipe[0]);
+ _dbus_fd_set_close_on_exec (reload_pipe[1]);
+
watch = _dbus_watch_new (reload_pipe[RELOAD_READ_END],
DBUS_WATCH_READABLE, TRUE,
handle_reload_watch, NULL, NULL);