dbus/dbus dbus-spawn.c,1.22,1.23

John Palmieri johnp at kemper.freedesktop.org
Thu Sep 7 11:28:15 PDT 2006


Update of /cvs/dbus/dbus/dbus
In directory kemper:/tmp/cvs-serv31251/dbus

Modified Files:
	dbus-spawn.c 
Log Message:
* dbus/dbus-spawn.c (_dbus_spawn_async_with_babysitter): Make sure we
  close child_err_report_pipe[WRITE_END] on exec (Patch from
  Kimmo Hämäläinen <kimmo dot hamalainen at nokia dot com>)



Index: dbus-spawn.c
===================================================================
RCS file: /cvs/dbus/dbus/dbus/dbus-spawn.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- dbus-spawn.c	7 Sep 2006 18:24:11 -0000	1.22
+++ dbus-spawn.c	7 Sep 2006 18:28:13 -0000	1.23
@@ -1061,7 +1061,8 @@
     goto cleanup_and_fail;
 
   _dbus_fd_set_close_on_exec (child_err_report_pipe[READ_END]);
-  
+  _dbus_fd_set_close_on_exec (child_err_report_pipe[WRITE_END]);
+
   if (!_dbus_full_duplex_pipe (&babysitter_pipe[0], &babysitter_pipe[1], TRUE, error))
     goto cleanup_and_fail;
 



More information about the dbus-commit mailing list