Merge branch 'wip/pwithnall/2785-macos-fd-close-test-failure' into 'main'

gstdio: Temporarily disable g_close() warning on macOS

See merge request GNOME/glib!2977
This commit is contained in:
Philip Withnall 2022-10-19 09:52:29 +00:00
commit 7cc95e0211

View File

@ -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
{