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:
e943366
)
gsocket: fix win32 build
author
Dan Winship
<danw@gnome.org>
Sun, 4 Sep 2011 12:42:31 +0000
(08:42 -0400)
committer
Dan Winship
<danw@gnome.org>
Sun, 4 Sep 2011 12:42:31 +0000
(08:42 -0400)
https://bugzilla.gnome.org/show_bug.cgi?id=658157
gio/gsocket.c
patch
|
blob
|
history
diff --git
a/gio/gsocket.c
b/gio/gsocket.c
index
9d58c41
..
a03be77
100644
(file)
--- a/
gio/gsocket.c
+++ b/
gio/gsocket.c
@@
-389,7
+389,8
@@
g_socket_details_from_fd (GSocket *socket)
goto err;
}
#else
- errsv = ENOTSUP;
+ /* This will translate to G_IO_ERROR_FAILED on either unix or windows */
+ errsv = -1;
goto err;
#endif
}