diff --git a/ChangeLog b/ChangeLog index 045e7e474..73be3e436 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-12-15 Matthias Clasen + + * glib/gspawn.c (do_exec): Call set_cloexec() with + the right parameters. (#386252, Guillaume Desmottes) + 2006-12-15 Matthias Clasen Fix #357585, Padraig O'Briain. diff --git a/glib/gspawn.c b/glib/gspawn.c index cd97c3070..39244834c 100644 --- a/glib/gspawn.c +++ b/glib/gspawn.c @@ -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 */