diff options
-rw-r--r-- | winsup/cygwin/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/cygwin/sigproc.cc | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index d8b75b104..ffa4fb52a 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,5 +1,9 @@ 2002-10-20 Christopher Faylor <cgf@redhat.com> + * sigproc.cc (wait_sig): Remove obsolete sigchld logic. + +2002-10-20 Christopher Faylor <cgf@redhat.com> + Rename _kill() to kill() throughout. Rename _raise() to raise() throughout. Rename _pid() to pid() throughout. * Makefile.in: Compile some objects with -fomit-frame-pointer. diff --git a/winsup/cygwin/sigproc.cc b/winsup/cygwin/sigproc.cc index 863a22d36..4424705a0 100644 --- a/winsup/cygwin/sigproc.cc +++ b/winsup/cygwin/sigproc.cc @@ -1119,7 +1119,6 @@ wait_sig (VOID *self) pending_signals = -1; int saw_pending_signals = 0; int saw_sigchld = 0; - int dispatched_sigchld = 0; for (int sig = -__SIGOFFSET; sig < NSIG; sig++) { while (InterlockedDecrement (myself->getsigtodo (sig)) >= 0) @@ -1152,9 +1151,7 @@ wait_sig (VOID *self) /* A normal UNIX signal */ default: sigproc_printf ("Got signal %d", sig); - int wasdispatched = sig_handle (sig, rc != 2); - if (sig == SIGCHLD && wasdispatched) - dispatched_sigchld = 1; + sig_handle (sig, rc != 2); /* Need to decrement again to offset increment below since we really do want to decrement in this case. */ InterlockedDecrement (myself->getsigtodo (sig)); |