* exceptions.cc (sig_handle_tty_stop): Fix boneheaded mistake by using correct

check for parent state rather than inverted check.
This commit is contained in:
Christopher Faylor 2003-09-16 03:07:27 +00:00
parent 8c6fcfebbf
commit 8ec37f2168
2 changed files with 6 additions and 1 deletions

View File

@ -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.

View File

@ -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",