mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-18 12:29:32 +08:00
* net.cc (wsock_event::release): Use NULL handle in call to
WSAEventSelect to resolve KB 168349.
This commit is contained in:
parent
59c9f5f586
commit
f5da8224f6
@ -1,3 +1,8 @@
|
|||||||
|
2004-04-02 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* net.cc (wsock_event::release): Use NULL handle in call to
|
||||||
|
WSAEventSelect to resolve KB 168349.
|
||||||
|
|
||||||
2004-04-01 Corinna Vinschen <corinna@vinschen.de>
|
2004-04-01 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* fhandler_socket.cc (fhandler_socket::recvfrom): Rearrange loop
|
* fhandler_socket.cc (fhandler_socket::recvfrom): Rearrange loop
|
||||||
|
@ -119,7 +119,8 @@ void
|
|||||||
wsock_event::release (int sock)
|
wsock_event::release (int sock)
|
||||||
{
|
{
|
||||||
int last_err = WSAGetLastError ();
|
int last_err = WSAGetLastError ();
|
||||||
WSAEventSelect (sock, event, 0);
|
/* KB 168349: NT4 fails if the event parameter is not NULL. */
|
||||||
|
WSAEventSelect (sock, NULL, 0);
|
||||||
WSACloseEvent (event);
|
WSACloseEvent (event);
|
||||||
unsigned long non_block = 0;
|
unsigned long non_block = 0;
|
||||||
if (ioctlsocket (sock, FIONBIO, &non_block))
|
if (ioctlsocket (sock, FIONBIO, &non_block))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user