From 35b7fc6c0035075cb75997e4f60f17337333c0bc Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Fri, 23 Jan 2004 15:44:15 +0000 Subject: [PATCH] * 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. --- winsup/cygwin/ChangeLog | 6 ++++++ winsup/cygwin/exceptions.cc | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 60cec328e..ca2768fb0 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,9 @@ +2004-01-23 Christopher Faylor + + * 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. + 2004-01-22 Brian Ford * fhandler_serial.cc (fhandler_serial::raw_write): Prevent a deadlock diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc index e67405527..e6dc906a0 100644 --- a/winsup/cygwin/exceptions.cc +++ b/winsup/cygwin/exceptions.cc @@ -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;