summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/exceptions.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2009-07-18 20:25:07 +0000
committerChristopher Faylor <me@cgf.cx>2009-07-18 20:25:07 +0000
commitacced2cea2e52c17dbf57efd9b7d1b53e73aedcf (patch)
tree1d0deee0e781aa555021e4bbba12dd44ba637a60 /winsup/cygwin/exceptions.cc
parentd4e45e3b99bd14e4253246518fced5eb5a8bcd58 (diff)
downloadcygnal-acced2cea2e52c17dbf57efd9b7d1b53e73aedcf.tar.gz
cygnal-acced2cea2e52c17dbf57efd9b7d1b53e73aedcf.tar.bz2
cygnal-acced2cea2e52c17dbf57efd9b7d1b53e73aedcf.zip
* exceptions.cc (sig_handle_tty_stop): Set stopsig to SIGCONT when continuing.
(stopped_or_terminated): Honor WCONTINUED. * wait.cc (wait4): Ditto. * include/cygwin/wait.h (WCONTINUED): Define. (__W_CONTINUED): Ditto. (WIFCONTINUED): Ditto.
Diffstat (limited to 'winsup/cygwin/exceptions.cc')
-rw-r--r--winsup/cygwin/exceptions.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc
index eeed74930..76632854b 100644
--- a/winsup/cygwin/exceptions.cc
+++ b/winsup/cygwin/exceptions.cc
@@ -760,6 +760,7 @@ sig_handle_tty_stop (int sig)
case WAIT_OBJECT_0:
case WAIT_OBJECT_0 + 1:
reset_signal_arrived ();
+ myself->stopsig = SIGCONT;
myself->alert_parent (SIGCONT);
break;
default: