diff options
author | Christopher Faylor <me@cgf.cx> | 2004-01-23 18:46:42 +0300 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2004-01-23 18:46:42 +0300 |
commit | ea0dfeb27020d765739bf2edc89067c79543ec13 (patch) | |
tree | d10e1cfac33abfd98e57107b0d0ee192591f8d6a | |
parent | 07f2828b247d32947cb54b9f9e93fa54b3f668b9 (diff) |
* 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.
-rw-r--r-- | winsup/cygwin/ChangeLog | 6 | ||||
-rw-r--r-- | winsup/cygwin/exceptions.cc | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index e7e9414ef..aaac6a0a2 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,9 @@ +2004-01-23 Christopher Faylor <cgf@redhat.com> + + * 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. + 2004-01-22 Brian Ford <ford@vss.fsi.com> * fhandler_serial.cc (fhandler_serial::raw_write): Prevent a deadlock diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc index e2877edcf..fe765ecb1 100644 --- a/winsup/cygwin/exceptions.cc +++ b/winsup/cygwin/exceptions.cc @@ -604,7 +604,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)) sig_send (parent, SIGCHLD); } sigproc_printf ("process %d stopped by signal %d, myself->ppid_handle %p", |