From acced2cea2e52c17dbf57efd9b7d1b53e73aedcf Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Sat, 18 Jul 2009 20:25:07 +0000 Subject: * 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. --- winsup/cygwin/exceptions.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'winsup/cygwin/exceptions.cc') 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: -- cgit v1.2.3