* cygtls.cc (_cygtls::fixup_after_fork): Wipe out exitsock local since it

should not be used by the child.
* select.cc (start_thread_socket): Turn off inheritance for exitsock.  Don't
add exitsock to exception mask since it should never get an exception.
(socket_cleanup): Change some debug messages for consistency.
* fhandler_socket.cc (fhandler_socket::dup): Change comment wording slightly.
This commit is contained in:
Christopher Faylor
2004-10-26 21:13:50 +00:00
parent 3d43992262
commit 5957d504f0
4 changed files with 20 additions and 5 deletions

View File

@ -352,8 +352,8 @@ fhandler_socket::dup (fhandler_base *child)
debug_printf ("WSADuplicateSocket failed, trying DuplicateHandle");
}
/* We don't call fhandler_base::dup here since that requires to
have winsock called from fhandler_base and it creates only
/* We don't call fhandler_base::dup here since that requires
having winsock called from fhandler_base and it creates only
inheritable sockets which is wrong for winsock2. */
HANDLE nh;