mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-23 10:27:51 +02: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:
@@ -63,7 +63,7 @@ test_fd_list (void)
|
||||
s = _pipe (sv, 4096, _O_NOINHERIT | _O_BINARY);
|
||||
g_assert_cmpint (s, ==, 0);
|
||||
#else
|
||||
g_unix_open_pipe (sv, FD_CLOEXEC, &err);
|
||||
g_unix_open_pipe (sv, O_CLOEXEC, &err);
|
||||
g_assert_no_error (err);
|
||||
#endif
|
||||
list = g_unix_fd_list_new_from_array (sv, -1);
|
||||
|
Reference in New Issue
Block a user