mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 15:03:39 +02:00
gioerror: Map ETXTBSY to G_FILE_ERROR_BUSY
It's a busy text file, but we don't care much about specifics so we can just return the generic busy error.
This commit is contained in:
@@ -287,7 +287,7 @@ test_error_from_errno (void)
|
||||
|
||||
#ifdef ETXTBSY
|
||||
g_assert_cmpint (g_io_error_from_errno (ETXTBSY), ==,
|
||||
G_IO_ERROR_FAILED);
|
||||
G_IO_ERROR_BUSY);
|
||||
#endif
|
||||
|
||||
#ifdef EFBIG
|
||||
|
Reference in New Issue
Block a user