1
0
mirror of https://gitlab.gnome.org/GNOME/glib.git synced 2025-04-05 23:33:07 +02:00

Call set_cloexec() with the right parameters. (, Guillaume

2006-12-15  Matthias Clasen  <mclasen@redhat.com>

        * glib/gspawn.c (do_exec): Call set_cloexec() with
        the right parameters.  (, Guillaume Desmottes)
This commit is contained in:
Matthias Clasen 2006-12-15 18:27:51 +00:00 committed by Matthias Clasen
parent af475972c6
commit 0047db2bf0
2 changed files with 6 additions and 1 deletions

@ -1,3 +1,8 @@
2006-12-15 Matthias Clasen <mclasen@redhat.com>
* glib/gspawn.c (do_exec): Call set_cloexec() with
the right parameters. (#386252, Guillaume Desmottes)
2006-12-15 Matthias Clasen <mclasen@redhat.com>
Fix #357585, Padraig O'Briain.

@ -928,7 +928,7 @@ do_exec (gint child_err_report_fd,
else
{
/* We need to do child_err_report_fd anyway */
set_cloexec (child_err_report_fd);
set_cloexec (NULL, child_err_report_fd);
}
/* Redirect pipes as required */