* signal.cc (sigaction): Fix if-statement typo.

This commit is contained in:
Christopher Faylor 2004-01-21 15:47:48 +00:00
parent be14b608aa
commit 0a0c89ef54
2 changed files with 5 additions and 1 deletions

View File

@ -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> 2004-01-21 Christopher Faylor <cgf@redhat.com>
* cygtls.cc (handle_threadlist_exception): Change logic, improve * cygtls.cc (handle_threadlist_exception): Change logic, improve

View File

@ -376,7 +376,7 @@ sigaction (int sig, const struct sigaction *newact, struct sigaction *oldact)
if (sig == SIGCHLD) if (sig == SIGCHLD)
{ {
myself->process_state &= ~PID_NOCLDSTOP; myself->process_state &= ~PID_NOCLDSTOP;
if (newact->sa_flags & SA_NOCLDSTOP); if (newact->sa_flags & SA_NOCLDSTOP)
myself->process_state |= PID_NOCLDSTOP; myself->process_state |= PID_NOCLDSTOP;
} }
} }