* 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:
@ -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",
|
||||
|
Reference in New Issue
Block a user