mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-05 07:38:20 +02:00
* 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>)
This commit is contained in:
parent
d3ae852746
commit
14b178a222
2 changed files with 8 additions and 1 deletions
|
|
@ -1,3 +1,9 @@
|
|||
2006-09-07 John (J5) Palmieri <johnp@redhat.com>
|
||||
|
||||
* 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>)
|
||||
|
||||
2006-09-07 John (J5) Palmieri <johnp@redhat.com>
|
||||
|
||||
* Clean up close calls to use _dbus_close (Patch from
|
||||
|
|
|
|||
|
|
@ -1061,7 +1061,8 @@ _dbus_spawn_async_with_babysitter (DBusBabysitter **sitter_p,
|
|||
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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue