* 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.
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user