* 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.
This commit is contained in:
Christopher Faylor
2004-01-23 15:44:15 +00:00
parent a33df42223
commit 35b7fc6c00
2 changed files with 7 additions and 1 deletions

View File

@ -631,7 +631,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))
{
siginfo_t si;
si.si_signo = SIGCHLD;