From: Matthias Clasen Date: Fri, 15 Dec 2006 18:27:51 +0000 (+0000) Subject: Call set_cloexec() with the right parameters. (#386252, Guillaume X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=0047db2bf04eff33183725f764055522e707b17b;p=dana%2Fcg-glib.git Call set_cloexec() with the right parameters. (#386252, Guillaume 2006-12-15 Matthias Clasen * glib/gspawn.c (do_exec): Call set_cloexec() with the right parameters. (#386252, Guillaume Desmottes) --- diff --git a/ChangeLog b/ChangeLog index 045e7e47..73be3e43 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 cd97c307..39244834 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 */