dbus/bus main.c,1.33,1.34

John Palmieri johnp at kemper.freedesktop.org
Thu Sep 7 11:24:13 PDT 2006


Update of /cvs/dbus/dbus/bus
In directory kemper:/tmp/cvs-serv26323/bus

Modified Files:
	main.c 
Log Message:
* Clean up close calls to use _dbus_close (Patch from 
  Kimmo Hämäläinen <kimmo dot hamalainen at nokia dot com>)


Index: main.c
===================================================================
RCS file: /cvs/dbus/dbus/bus/main.c,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -d -r1.33 -r1.34
--- main.c	6 Sep 2006 21:16:12 -0000	1.33
+++ main.c	7 Sep 2006 18:24:11 -0000	1.34
@@ -193,6 +193,9 @@
       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);



More information about the dbus-commit mailing list