aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/wait.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/wait.cc
parent1ed95be609c9af283fe0c1b21b760b3abc0792f8 (diff)
downloadnewlib-1f8331ae8b5eb14f9836d65ac0641c79e136c595.zip
newlib-1f8331ae8b5eb14f9836d65ac0641c79e136c595.tar.gz
newlib-1f8331ae8b5eb14f9836d65ac0641c79e136c595.tar.bz2
* 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/wait.cc')
-rw-r--r--winsup/cygwin/wait.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/wait.cc b/winsup/cygwin/wait.cc
index d3c3416..d7dd1f8 100644
--- a/winsup/cygwin/wait.cc
+++ b/winsup/cygwin/wait.cc
@@ -98,8 +98,8 @@ wait4 (int intpid, int *status, int options, struct rusage *r)
if (w->status == -1)
{
- call_signal_handler_now ();
set_sig_errno (EINTR);
+ call_signal_handler_now ();
sawsig = true;
res = -1;
}