diff options
author | Christopher Faylor <me@cgf.cx> | 2000-10-18 04:53:37 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2000-10-18 04:53:37 +0000 |
commit | ac944e37d029c8bc9e38a51be76fece99a2826f1 (patch) | |
tree | 26faad099a731a19876502ed4b278a6bd43bcda7 /winsup/cygwin/sigproc.cc | |
parent | 3f7bd531155175f7c8158b68fcaf9e1aa98f9c1d (diff) | |
download | cygnal-ac944e37d029c8bc9e38a51be76fece99a2826f1.tar.gz cygnal-ac944e37d029c8bc9e38a51be76fece99a2826f1.tar.bz2 cygnal-ac944e37d029c8bc9e38a51be76fece99a2826f1.zip |
* exceptions.cc (call_handler): Make signal pending if sigsave.sig is still
active.
* syscalls.cc (_read): Don't clear errno.
* sigproc.cc (wait_sig): Don't scan the waiting process list after a SIGCHLD if
there are no zombies to reap.
* winsup.h: Use __builtin_strcmp.
* environ.cc (posify): Don't initialize len unless it is required
(from DJ Delorie <dj@redhat.com>).
Diffstat (limited to 'winsup/cygwin/sigproc.cc')
-rw-r--r-- | winsup/cygwin/sigproc.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/sigproc.cc b/winsup/cygwin/sigproc.cc index d98bd0e11..84279610e 100644 --- a/winsup/cygwin/sigproc.cc +++ b/winsup/cygwin/sigproc.cc @@ -1195,7 +1195,7 @@ wait_sig (VOID *) continue; } - if (saw_sigchld && !dispatched_sigchld) + if (nzombies && saw_sigchld && !dispatched_sigchld) proc_subproc (PROC_CLEARWAIT, 0); /* Signal completion of signal handling depending on which semaphore * woke up the WaitForMultipleObjects above. |