diff options
author | Christopher Faylor <me@cgf.cx> | 2004-10-26 21:13:50 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2004-10-26 21:13:50 +0000 |
commit | 5957d504f0da6ed6614bbb790b79d1224f4b639d (patch) | |
tree | 9820b4036e244aa4ec86cb6ffa171ead3d8444a9 /winsup/cygwin/fhandler_socket.cc | |
parent | 3d43992262f596388dbd1fa6b1193916be97b25a (diff) | |
download | cygnal-5957d504f0da6ed6614bbb790b79d1224f4b639d.tar.gz cygnal-5957d504f0da6ed6614bbb790b79d1224f4b639d.tar.bz2 cygnal-5957d504f0da6ed6614bbb790b79d1224f4b639d.zip |
* 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.
Diffstat (limited to 'winsup/cygwin/fhandler_socket.cc')
-rw-r--r-- | winsup/cygwin/fhandler_socket.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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; |