summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/exceptions.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-12-17 22:47:32 +0000
committerChristopher Faylor <me@cgf.cx>2003-12-17 22:47:32 +0000
commit1f8331ae8b5eb14f9836d65ac0641c79e136c595 (patch)
tree86ecdceb366d42cd7b86301bfc9abd09e1a685fd /winsup/cygwin/exceptions.cc
parent1ed95be609c9af283fe0c1b21b760b3abc0792f8 (diff)
downloadcygnal-1f8331ae8b5eb14f9836d65ac0641c79e136c595.tar.gz
cygnal-1f8331ae8b5eb14f9836d65ac0641c79e136c595.tar.bz2
cygnal-1f8331ae8b5eb14f9836d65ac0641c79e136c595.zip
* pinfo.h (pinfo::operator ==): Add a way to check for _pinfo types.
* sigproc.cc (proc_subproc): Ensure that zombie is removed when SIGCHLD == SIG_IGN but still allow wait()ing threads to wake up.
Diffstat (limited to 'winsup/cygwin/exceptions.cc')
-rw-r--r--winsup/cygwin/exceptions.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc
index 341ae732f..ffa6d4d3b 100644
--- a/winsup/cygwin/exceptions.cc
+++ b/winsup/cygwin/exceptions.cc
@@ -792,7 +792,7 @@ signal_fixup_after_fork ()
extern "C" void __stdcall
set_sig_errno (int e)
{
- set_errno (e);
+ *_my_tls.errno_addr = e;
_my_tls.saved_errno = e;
// sigproc_printf ("errno %d", e);
}