summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/exceptions.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2004-01-23 15:44:15 +0000
committerChristopher Faylor <me@cgf.cx>2004-01-23 15:44:15 +0000
commit35b7fc6c0035075cb75997e4f60f17337333c0bc (patch)
treed44110adc038d8f0f808bc6f82c776ac0f93281b /winsup/cygwin/exceptions.cc
parenta33df42223e3261d26975db9a92945a187471fac (diff)
downloadcygnal-35b7fc6c0035075cb75997e4f60f17337333c0bc.tar.gz
cygnal-35b7fc6c0035075cb75997e4f60f17337333c0bc.tar.bz2
cygnal-35b7fc6c0035075cb75997e4f60f17337333c0bc.zip
* exceptions.cc (sig_handle_tty_stop): Fix boneheaded mistake by using correct
check for parent state rather than inverted check mistakenly introduced on 2003-09-15.
Diffstat (limited to 'winsup/cygwin/exceptions.cc')
-rw-r--r--winsup/cygwin/exceptions.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc
index e67405527..e6dc906a0 100644
--- a/winsup/cygwin/exceptions.cc
+++ b/winsup/cygwin/exceptions.cc
@@ -631,7 +631,7 @@ sig_handle_tty_stop (int sig)
if (my_parent_is_alive ())
{
pinfo parent (myself->ppid);
- if (ISSTATE (parent, PID_NOCLDSTOP))
+ if (NOTSTATE (parent, PID_NOCLDSTOP))
{
siginfo_t si;
si.si_signo = SIGCHLD;