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 + + * 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 * 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",