projects
/
gnulib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9bb0a7e
)
w32sock: leave win32 error in place.
author
Paolo Bonzini
<bonzini@gnu.org>
Thu, 26 Nov 2009 19:29:16 +0000
(20:29 +0100)
committer
Paolo Bonzini
<bonzini@gnu.org>
Thu, 26 Nov 2009 19:29:16 +0000
(20:29 +0100)
* lib/w32sock.h (set_winsock_errno): Do not call WSASetLastError.
ChangeLog
patch
|
blob
|
history
lib/w32sock.h
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
index
717c503
..
25e8b59
100644
(file)
--- a/
ChangeLog
+++ b/
ChangeLog
@@
-1,3
+1,8
@@
+2009-11-26 Richard Jones <rjones@redhat.com>
+
+ w32sock: leave win32 error in place.
+ * lib/w32sock.h (set_winsock_errno): Do not call WSASetLastError.
+
2009-11-26 Eric Blake <ebb9@byu.net>
init.sh: suggest to use skip_ and fail_ functions in comments
diff --git
a/lib/w32sock.h
b/lib/w32sock.h
index
0622985
..
8705f8f
100644
(file)
--- a/
lib/w32sock.h
+++ b/
lib/w32sock.h
@@
-32,7
+32,6
@@
static inline void
set_winsock_errno (void)
{
int err = WSAGetLastError ();
- WSASetLastError (0);
/* Map some WSAE* errors to the runtime library's error codes. */
switch (err)