mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-15 20:25:12 +01:00
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:
commit
7cc95e0211
@ -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