mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 23:46:17 +01:00
Added G_IO_ERROR_BROKEN_PIPE
This commit is contained in:
parent
52c608dd0d
commit
ccd1fb6820
@ -444,6 +444,7 @@ typedef enum {
|
|||||||
* @G_IO_ERROR_PROXY_NEED_AUTH: Proxy server needs authentication. Since 2.26
|
* @G_IO_ERROR_PROXY_NEED_AUTH: Proxy server needs authentication. Since 2.26
|
||||||
* @G_IO_ERROR_PROXY_NOT_ALLOWED: Proxy connection is not allowed by ruleset.
|
* @G_IO_ERROR_PROXY_NOT_ALLOWED: Proxy connection is not allowed by ruleset.
|
||||||
* Since 2.26
|
* Since 2.26
|
||||||
|
* @G_IO_ERROR_BROKEN_PIPE: Broken pipe. Since 2.36
|
||||||
*
|
*
|
||||||
* Error codes returned by GIO functions.
|
* Error codes returned by GIO functions.
|
||||||
*
|
*
|
||||||
@ -492,7 +493,8 @@ typedef enum {
|
|||||||
G_IO_ERROR_PROXY_FAILED,
|
G_IO_ERROR_PROXY_FAILED,
|
||||||
G_IO_ERROR_PROXY_AUTH_FAILED,
|
G_IO_ERROR_PROXY_AUTH_FAILED,
|
||||||
G_IO_ERROR_PROXY_NEED_AUTH,
|
G_IO_ERROR_PROXY_NEED_AUTH,
|
||||||
G_IO_ERROR_PROXY_NOT_ALLOWED
|
G_IO_ERROR_PROXY_NOT_ALLOWED,
|
||||||
|
G_IO_ERROR_BROKEN_PIPE
|
||||||
} GIOErrorEnum;
|
} GIOErrorEnum;
|
||||||
|
|
||||||
|
|
||||||
|
@ -213,6 +213,12 @@ g_io_error_from_errno (gint err_no)
|
|||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef EPIPE
|
||||||
|
case EPIPE:
|
||||||
|
return G_IO_ERROR_BROKEN_PIPE;
|
||||||
|
break;
|
||||||
|
#endif
|
||||||
|
|
||||||
default:
|
default:
|
||||||
return G_IO_ERROR_FAILED;
|
return G_IO_ERROR_FAILED;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user