mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-27 19:38:55 +02:00
on success, close the pipes from the child. Fix from Tim.
2002-05-23 Havoc Pennington <hp@redhat.com> * glib/gspawn.c (fork_exec_with_pipes): on success, close the pipes from the child. Fix from Tim.
This commit is contained in:
committed by
Havoc Pennington
parent
5a5df3aaa3
commit
1ce72b0584
@@ -1202,7 +1202,9 @@ fork_exec_with_pipes (gboolean intermediate_child,
|
||||
}
|
||||
|
||||
/* Success against all odds! return the information */
|
||||
|
||||
close_and_invalidate (&child_err_report_pipe[0]);
|
||||
close_and_invalidate (&child_pid_report_pipe[0]);
|
||||
|
||||
if (child_pid)
|
||||
*child_pid = pid;
|
||||
|
||||
|
Reference in New Issue
Block a user