mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 15:03:39 +02:00
gioerror: Map ENFILE to G_IO_ERROR_TOO_MANY_OPEN_FILES
ENFILE stands for "Too many open files in system", so we can definitely group it together with EMFILE ("Too many open files").
This commit is contained in:
@@ -277,7 +277,7 @@ test_error_from_errno (void)
|
||||
|
||||
#ifdef ENFILE
|
||||
g_assert_cmpint (g_io_error_from_errno (ENFILE), ==,
|
||||
G_IO_ERROR_FAILED);
|
||||
G_IO_ERROR_TOO_MANY_OPEN_FILES);
|
||||
#endif
|
||||
|
||||
#ifdef ENOTTY
|
||||
|
Reference in New Issue
Block a user