From d3ae8527461b48a00a153d511c57952a8197c921 Mon Sep 17 00:00:00 2001 From: "John (J5) Palmieri" Date: Thu, 7 Sep 2006 18:24:11 +0000 Subject: * Clean up close calls to use _dbus_close (Patch from Kimmo Hämäläinen ) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bus/main.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bus/main.c') 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); -- cgit