From 5957d504f0da6ed6614bbb790b79d1224f4b639d Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Tue, 26 Oct 2004 21:13:50 +0000 Subject: * 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. --- winsup/cygwin/fhandler_socket.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'winsup/cygwin/fhandler_socket.cc') diff --git a/winsup/cygwin/fhandler_socket.cc b/winsup/cygwin/fhandler_socket.cc index 5c85ad413..803ba44cb 100644 --- a/winsup/cygwin/fhandler_socket.cc +++ b/winsup/cygwin/fhandler_socket.cc @@ -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; -- cgit v1.2.3