From 1f8331ae8b5eb14f9836d65ac0641c79e136c595 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Wed, 17 Dec 2003 22:47:32 +0000 Subject: * 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. --- winsup/cygwin/exceptions.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winsup/cygwin/exceptions.cc') 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); } -- cgit v1.2.3