mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 15:36:17 +01:00
gspawn: Stop spewing debug messages
My GTK testlogs are filled with GLib-DEBUG: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead Lets take the hint, and migrate to using O_CLOEXEC.
This commit is contained in:
parent
20400bc503
commit
f79c53f953
@ -2308,7 +2308,7 @@ fork_exec (gboolean intermediate_child,
|
|||||||
GPid pid = -1;
|
GPid pid = -1;
|
||||||
GUnixPipe child_err_report_pipe = G_UNIX_PIPE_INIT;
|
GUnixPipe child_err_report_pipe = G_UNIX_PIPE_INIT;
|
||||||
GUnixPipe child_pid_report_pipe = G_UNIX_PIPE_INIT;
|
GUnixPipe child_pid_report_pipe = G_UNIX_PIPE_INIT;
|
||||||
guint pipe_flags = cloexec_pipes ? FD_CLOEXEC : 0;
|
guint pipe_flags = cloexec_pipes ? O_CLOEXEC : 0;
|
||||||
gint status;
|
gint status;
|
||||||
const gchar *chosen_search_path;
|
const gchar *chosen_search_path;
|
||||||
gchar *search_path_buffer = NULL;
|
gchar *search_path_buffer = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user