Commit 0047db2b authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

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

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

        * glib/gspawn.c (do_exec): Call set_cloexec() with
        the right parameters.  (#386252, Guillaume Desmottes)
parent af475972
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 */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment