diff options
author | Christopher Faylor <me@cgf.cx> | 2003-09-16 03:07:27 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2003-09-16 03:07:27 +0000 |
commit | 8ec37f21680447bf30b37a0e2d7338162f9ca60e (patch) | |
tree | 47a382729330758b6e846727dbcf3824c458ab48 | |
parent | 8c6fcfebbf30edfb6560802a3b2c8f45ef297233 (diff) | |
download | cygnal-8ec37f21680447bf30b37a0e2d7338162f9ca60e.tar.gz cygnal-8ec37f21680447bf30b37a0e2d7338162f9ca60e.tar.bz2 cygnal-8ec37f21680447bf30b37a0e2d7338162f9ca60e.zip |
* exceptions.cc (sig_handle_tty_stop): Fix boneheaded mistake by using correct
check for parent state rather than inverted check.
-rw-r--r-- | winsup/cygwin/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/cygwin/exceptions.cc | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index bdb4e9795..163da97f5 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2003-09-15 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. + 2003-09-15 Pierre Humblet <pierre.humblet@ieee.org> * security.h (__sec_user): Add "access2" argument. diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc index 4206e38de..01b37b74d 100644 --- a/winsup/cygwin/exceptions.cc +++ b/winsup/cygwin/exceptions.cc @@ -615,7 +615,7 @@ sig_handle_tty_stop (int sig) if (my_parent_is_alive ()) { pinfo parent (myself->ppid, PID_MAP_RW); - if (NOTSTATE (parent, PID_NOCLDSTOP)) + if (ISSTATE (parent, PID_NOCLDSTOP)) sig_send (parent, SIGCHLD); } sigproc_printf ("process %d stopped by signal %d, myself->ppid_handle %p", |