glib-unix: Accept O_CLOEXEC as well as FD_CLOEXEC in g_unix_open_pipe()
This is one step towards rectifying the mistake of using FD_CLOEXEC
in
the first place. Eventually we may deprecate support for FD_CLOEXEC
,
as the O_*
flags better match the underlying pipe()
API.
See discussion on !3459 (comment 1779264)
Signed-off-by: Philip Withnall philip@tecnocode.co.uk
Edited by Philip Withnall