mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-31 04:43:06 +02:00
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)
This commit is contained in:
parent
af475972c6
commit
0047db2bf0
@ -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>
|
2006-12-15 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
Fix #357585, Padraig O'Briain.
|
Fix #357585, Padraig O'Briain.
|
||||||
|
@ -928,7 +928,7 @@ do_exec (gint child_err_report_fd,
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
/* We need to do child_err_report_fd anyway */
|
/* 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 */
|
/* Redirect pipes as required */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user