on success, close the pipes from the child. Fix from Tim.
authorHavoc Pennington <hp@redhat.com>
Thu, 23 May 2002 15:36:53 +0000 (15:36 +0000)
committerHavoc Pennington <hp@src.gnome.org>
Thu, 23 May 2002 15:36:53 +0000 (15:36 +0000)
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.

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
glib/gspawn.c

index 4a01817..d934542 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index 4a01817..d934542 100644 (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
index 4a01817..d934542 100644 (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
index 4a01817..d934542 100644 (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
index 4a01817..d934542 100644 (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
index 4a01817..d934542 100644 (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
index 4a01817..d934542 100644 (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
index bf152f4..d8ed1d9 100644 (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;