mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-05 08:53:39 +02:00
Add a G_IO_ERROR_TOO_MANY_OPEN_FILES error code. Requested by Olivier
* gioenums.h: Add a G_IO_ERROR_TOO_MANY_OPEN_FILES error code. Requested by Olivier Sessink. * gioerror.c: Translate EMFILE to G_IO_ERROR_TOO_MANY_OPEN_FILES. * glocalfileenumerator.c: Translate G_FILE_ERROR_MFILE to G_IO_ERROR_TOO_MANY_OPEN_FILES. svn path=/trunk/; revision=7782
This commit is contained in:
@@ -328,7 +328,11 @@ typedef enum {
|
||||
* @G_IO_ERROR_WOULD_BLOCK: Operation would block.
|
||||
* @G_IO_ERROR_HOST_NOT_FOUND: Host couldn't be found (remote operations).
|
||||
* @G_IO_ERROR_WOULD_MERGE: Operation would merge files.
|
||||
* @G_IO_ERROR_FAILED_HANDLED: Operation failed and a helper program has already interacted with the user. Do not display any error dialog.
|
||||
* @G_IO_ERROR_FAILED_HANDLED: Operation failed and a helper program has
|
||||
* already interacted with the user. Do not display any error dialog.
|
||||
* @G_IO_ERROR_TOO_MANY_OPEN_FILES: The current process has too many files
|
||||
* open and can't open any more. Duplicate descriptors do count toward
|
||||
* this limit. Since 2.20
|
||||
*
|
||||
* Error codes returned by GIO functions.
|
||||
*
|
||||
@@ -364,7 +368,8 @@ typedef enum {
|
||||
G_IO_ERROR_WOULD_BLOCK,
|
||||
G_IO_ERROR_HOST_NOT_FOUND,
|
||||
G_IO_ERROR_WOULD_MERGE,
|
||||
G_IO_ERROR_FAILED_HANDLED
|
||||
G_IO_ERROR_FAILED_HANDLED,
|
||||
G_IO_ERROR_TOO_MANY_OPEN_FILES
|
||||
} GIOErrorEnum;
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user