mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-11-05 18:48:55 +01:00
glib: Pass O_CLOEXEC rather than FD_CLOEXEC to g_unix_open_pipe()
See the previous commit. Signed-off-by: Philip Withnall <philip@tecnocode.co.uk>
This commit is contained in:
@@ -305,7 +305,7 @@ launch_test_binary (const char *binary,
|
||||
gboolean loop_pending;
|
||||
gint i = 0;
|
||||
|
||||
if (!g_unix_open_pipe (report_pipe, FD_CLOEXEC, &error))
|
||||
if (!g_unix_open_pipe (report_pipe, O_CLOEXEC, &error))
|
||||
{
|
||||
if (subtest_mode_fatal)
|
||||
g_error ("Failed to open pipe for test binary: %s: %s", binary, error->message);
|
||||
|
||||
Reference in New Issue
Block a user