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/cygtls.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'winsup/cygwin/cygtls.cc') 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; } -- cgit v1.2.3