diff options
author | Christopher Faylor <me@cgf.cx> | 2003-09-10 17:26:12 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2003-09-10 17:26:12 +0000 |
commit | 6d2d2bce720d5c455b77f1139d623ccca8a924e8 (patch) | |
tree | e89f00d54eedebfd233deb174ade02928091067f /winsup/cygwin/exceptions.cc | |
parent | 4018776f6e72a2e612eab9e4fc975ad293d70bc5 (diff) | |
download | cygnal-6d2d2bce720d5c455b77f1139d623ccca8a924e8.tar.gz cygnal-6d2d2bce720d5c455b77f1139d623ccca8a924e8.tar.bz2 cygnal-6d2d2bce720d5c455b77f1139d623ccca8a924e8.zip |
* exceptions.cc (sig_handle_tty_stop): Check parent PID_NOCLDSTOP rather than
erroneously checking *my own* sigtodo.
Diffstat (limited to 'winsup/cygwin/exceptions.cc')
-rw-r--r-- | winsup/cygwin/exceptions.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc index 3a599f989..8105eb653 100644 --- a/winsup/cygwin/exceptions.cc +++ b/winsup/cygwin/exceptions.cc @@ -611,7 +611,7 @@ sig_handle_tty_stop (int sig) if (my_parent_is_alive ()) { pinfo parent (myself->ppid); - if (!(parent->getsig (SIGCHLD).sa_flags & SA_NOCLDSTOP)) + if (NOTSTATE (parent, PID_NOCLDSTOP)) sig_send (parent, SIGCHLD); } sigproc_printf ("process %d stopped by signal %d, myself->ppid_handle %p", |