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/wait.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winsup/cygwin/wait.cc') diff --git a/winsup/cygwin/wait.cc b/winsup/cygwin/wait.cc index 772b5cc88..3286434ba 100644 --- a/winsup/cygwin/wait.cc +++ b/winsup/cygwin/wait.cc @@ -52,7 +52,7 @@ wait4 (int intpid, int *status, int options, struct rusage *r) while (1) { sig_dispatch_pending (); - if (options & ~(WNOHANG | WUNTRACED)) + if (options & ~(WNOHANG | WUNTRACED | WCONTINUED)) { set_errno (EINVAL); res = -1; -- cgit v1.2.3