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>2009-07-19 00:25:07 +0400
committerChristopher Faylor <me@cgf.cx>2009-07-19 00:25:07 +0400
commitacced2cea2e52c17dbf57efd9b7d1b53e73aedcf (patch)
tree1d0deee0e781aa555021e4bbba12dd44ba637a60 /winsup/cygwin/wait.cc
parentd4e45e3b99bd14e4253246518fced5eb5a8bcd58 (diff)
* 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/wait.cc')
-rw-r--r--winsup/cygwin/wait.cc2
1 files changed, 1 insertions, 1 deletions
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;