mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-18 12:29:32 +08:00
Fix by Conrad Scott <conrad.scott@dsl.pipex.com>:
* fhandler_socket.cc (fhandler_socket::accept): Fix FIONBIO call.
This commit is contained in:
parent
88de60e449
commit
235d9fdadc
@ -1,3 +1,7 @@
|
||||
2002-08-07 Conrad Scott <conrad.scott@dsl.pipex.com>
|
||||
|
||||
* fhandler_socket.cc (fhandler_socket::accept): Fix FIONBIO call.
|
||||
|
||||
2002-08-06 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
* cygheap.cc (_csbrk): Avoid !cygheap considerations.
|
||||
|
@ -524,7 +524,8 @@ fhandler_socket::accept (struct sockaddr *peer, int *len)
|
||||
/* Unset events for listening socket and
|
||||
switch back to blocking mode */
|
||||
WSAEventSelect (get_socket (), ev[0], 0);
|
||||
ioctlsocket (get_socket (), FIONBIO, 0);
|
||||
unsigned long nonblocking = 0;
|
||||
ioctlsocket (get_socket (), FIONBIO, &nonblocking);
|
||||
|
||||
switch (wait_result)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user