diff options
-rw-r--r-- | winsup/cygwin/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/cygwin/signal.cc | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 03440a1..63f587d 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2004-01-21 Nicholas Wourms <nwourms@netscape.net> + + * signal.cc (sigaction): Fix if-statement typo. + 2004-01-21 Christopher Faylor <cgf@redhat.com> * cygtls.cc (handle_threadlist_exception): Change logic, improve diff --git a/winsup/cygwin/signal.cc b/winsup/cygwin/signal.cc index d442b17..718f4e9 100644 --- a/winsup/cygwin/signal.cc +++ b/winsup/cygwin/signal.cc @@ -376,7 +376,7 @@ sigaction (int sig, const struct sigaction *newact, struct sigaction *oldact) if (sig == SIGCHLD) { myself->process_state &= ~PID_NOCLDSTOP; - if (newact->sa_flags & SA_NOCLDSTOP); + if (newact->sa_flags & SA_NOCLDSTOP) myself->process_state |= PID_NOCLDSTOP; } } |