Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2004-01-23 18:46:42 +0300
committerChristopher Faylor <me@cgf.cx>2004-01-23 18:46:42 +0300
commitea0dfeb27020d765739bf2edc89067c79543ec13 (patch)
treed10e1cfac33abfd98e57107b0d0ee192591f8d6a
parent07f2828b247d32947cb54b9f9e93fa54b3f668b9 (diff)
* 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.
-rw-r--r--winsup/cygwin/ChangeLog6
-rw-r--r--winsup/cygwin/exceptions.cc2
2 files changed, 7 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index e7e9414ef..aaac6a0a2 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,9 @@
+2004-01-23 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 mistakenly
+ introduced on 2003-09-15.
+
2004-01-22 Brian Ford <ford@vss.fsi.com>
* fhandler_serial.cc (fhandler_serial::raw_write): Prevent a deadlock
diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc
index e2877edcf..fe765ecb1 100644
--- a/winsup/cygwin/exceptions.cc
+++ b/winsup/cygwin/exceptions.cc
@@ -604,7 +604,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))
sig_send (parent, SIGCHLD);
}
sigproc_printf ("process %d stopped by signal %d, myself->ppid_handle %p",