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:
Havoc Pennington 2002-05-23 15:37:06 +00:00 committed by Havoc Pennington
parent 0f3f32f9ed
commit d870361e03
8 changed files with 38 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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.
2002-05-22 jacob berkman <jacob@ximian.com>
* m4macros/glib-gettext.m4 (AM_GLIB_WITH_NLS): fix tyop

View File

@ -1,3 +1,8 @@
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.
2002-05-22 jacob berkman <jacob@ximian.com>
* m4macros/glib-gettext.m4 (AM_GLIB_WITH_NLS): fix tyop

View File

@ -1,3 +1,8 @@
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.
2002-05-22 jacob berkman <jacob@ximian.com>
* m4macros/glib-gettext.m4 (AM_GLIB_WITH_NLS): fix tyop

View File

@ -1,3 +1,8 @@
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.
2002-05-22 jacob berkman <jacob@ximian.com>
* m4macros/glib-gettext.m4 (AM_GLIB_WITH_NLS): fix tyop

View File

@ -1,3 +1,8 @@
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.
2002-05-22 jacob berkman <jacob@ximian.com>
* m4macros/glib-gettext.m4 (AM_GLIB_WITH_NLS): fix tyop

View File

@ -1,3 +1,8 @@
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.
2002-05-22 jacob berkman <jacob@ximian.com>
* m4macros/glib-gettext.m4 (AM_GLIB_WITH_NLS): fix tyop

View File

@ -1,3 +1,8 @@
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.
2002-05-22 jacob berkman <jacob@ximian.com>
* m4macros/glib-gettext.m4 (AM_GLIB_WITH_NLS): fix tyop

View File

@ -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;