Handle more Winsock error codes.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
parent
95c5a3f6b7
commit
6f9e2f3ed5
|
@ -1,3 +1,7 @@
|
|||
2015-06-15 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* net.cc (errmap): Handle more Winsock error codes.
|
||||
|
||||
2015-06-15 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* exceptions.cc (_cygtls::call_signal_handler): Disable enforcing
|
||||
|
|
|
@ -169,6 +169,9 @@ struct tl
|
|||
};
|
||||
|
||||
static const struct tl errmap[] = {
|
||||
{WSA_INVALID_HANDLE, "WSA_INVALID_HANDLE", EBADF},
|
||||
{WSA_NOT_ENOUGH_MEMORY, "WSA_NOT_ENOUGH_MEMORY", ENOMEM},
|
||||
{WSA_INVALID_PARAMETER, "WSA_INVALID_PARAMETER", EINVAL},
|
||||
{WSAEINTR, "WSAEINTR", EINTR},
|
||||
{WSAEWOULDBLOCK, "WSAEWOULDBLOCK", EWOULDBLOCK},
|
||||
{WSAEINPROGRESS, "WSAEINPROGRESS", EINPROGRESS},
|
||||
|
|
Loading…
Reference in New Issue