projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a155019
)
gio: provide G_IO_ERROR_NOT_CONNECTED translation for ENOTCONN
author
Ignacio Casal Quinteiro
<icq@gnome.org>
Tue, 2 Dec 2014 13:25:56 +0000
(14:25 +0100)
committer
Maciej Wereski
<m.wereski@partner.samsung.com>
Fri, 10 Jul 2015 09:47:42 +0000
(11:47 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=741016
gio/gioerror.c
patch
|
blob
|
history
diff --git
a/gio/gioerror.c
b/gio/gioerror.c
index 4ec53e8e0d7cfd8016588121ecd7dc6f1f63141e..0faff254d35b312a41b47b1059bce79424acdfed 100644
(file)
--- a/
gio/gioerror.c
+++ b/
gio/gioerror.c
@@
-248,6
+248,12
@@
g_io_error_from_errno (gint err_no)
break;
#endif
+#ifdef ENOTCONN
+ case ENOTCONN:
+ return G_IO_ERROR_NOT_CONNECTED;
+ break;
+#endif
+
default:
return G_IO_ERROR_FAILED;
break;