Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2004-10-27 01:13:50 +0400
committerChristopher Faylor <me@cgf.cx>2004-10-27 01:13:50 +0400
commit5957d504f0da6ed6614bbb790b79d1224f4b639d (patch)
tree9820b4036e244aa4ec86cb6ffa171ead3d8444a9 /winsup/cygwin/cygtls.cc
parent3d43992262f596388dbd1fa6b1193916be97b25a (diff)
* 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/cygtls.cc')
-rw-r--r--winsup/cygwin/cygtls.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/cygtls.cc b/winsup/cygwin/cygtls.cc
index 4dcd5df8f..6be388116 100644
--- a/winsup/cygwin/cygtls.cc
+++ b/winsup/cygwin/cygtls.cc
@@ -149,6 +149,7 @@ _cygtls::fixup_after_fork ()
sig = 0;
}
stacklock = 0;
+ locals.exitsock = INVALID_SOCKET;
wq.thread_ev = NULL;
}