aboutsummaryrefslogtreecommitdiff
path: root/winsup
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2004-01-21 15:47:48 +0000
committerChristopher Faylor <me@cgf.cx>2004-01-21 15:47:48 +0000
commit0a0c89ef546fb75187312603f074b9ac0cf5b0ae (patch)
treec0bf01fafc93844cb1a40569587f75ad3edff267 /winsup
parentbe14b608aad549a7d226a3e75e40ab500324cf4e (diff)
downloadnewlib-0a0c89ef546fb75187312603f074b9ac0cf5b0ae.zip
newlib-0a0c89ef546fb75187312603f074b9ac0cf5b0ae.tar.gz
newlib-0a0c89ef546fb75187312603f074b9ac0cf5b0ae.tar.bz2
* signal.cc (sigaction): Fix if-statement typo.
Diffstat (limited to 'winsup')
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/signal.cc2
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;
}
}