mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-30 04:13:06 +02:00
gstdio: Temporarily disable g_close() warning on macOS
It causes the tests to fail, which suggests some latent FD handling bug on macOS (but not other platforms). Unfortunately I’m unable to debug that due to not having access to a macOS machine, and it’s blocking CI for the rest of the project. So disable it on macOS for now, until someone with access to a macOS machine can take a look. Signed-off-by: Philip Withnall <pwithnall@endlessos.org> Helps: #2785
This commit is contained in:
parent
f8674c1d4c
commit
5190354ad9
@ -1802,7 +1802,13 @@ g_close (gint fd,
|
||||
* not necessarily in the caller of g_close(), but somebody else
|
||||
* might have wrongly closed fd. In any case, there is a serious bug
|
||||
* somewhere. */
|
||||
/* FIXME: This causes a number of unit test failures on macOS.
|
||||
* Disabling the message for now until someone with access to a
|
||||
* macOS machine can investigate.
|
||||
* See https://gitlab.gnome.org/GNOME/glib/-/issues/2785 */
|
||||
#ifndef HAVE_COCOA
|
||||
g_critical ("g_close(fd:%d) failed with EBADF. The tracking of file descriptors got messed up", fd);
|
||||
#endif
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user