projects
/
pspp
/ 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 717c5031842675f23f96002a532106b36435d808..25e8b59043c90b494a7444b291790042301221c0 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 0622985b8197a31c1687b29f7231d306ca710ec1..8705f8f00a505e718bd35583c8274231e6289481 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)