mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-21 16:38:54 +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:
@@ -604,7 +604,7 @@ make_pipe (gint pipe_fds[2],
|
||||
GError **error)
|
||||
{
|
||||
#if defined(G_OS_UNIX)
|
||||
return g_unix_open_pipe (pipe_fds, FD_CLOEXEC, error);
|
||||
return g_unix_open_pipe (pipe_fds, O_CLOEXEC, error);
|
||||
#elif defined(G_OS_WIN32)
|
||||
if (_pipe (pipe_fds, 4096, _O_BINARY) < 0)
|
||||
{
|
||||
|
Reference in New Issue
Block a user