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>2001-01-10 16:53:38 +0300
committerChristopher Faylor <me@cgf.cx>2001-01-10 16:53:38 +0300
commit7416e1d2f663576bd3a86d04c81fb7d827e8e847 (patch)
treec22c87f15b118723862e5815cf7fffee74af8b38 /winsup/cygwin/sigproc.cc
parentc0e5a443da3b34cc7bfb92b0835c0ca860c136e6 (diff)
* sigproc.cc (wait_sig): Allow SIGCONT when stopped.
Diffstat (limited to 'winsup/cygwin/sigproc.cc')
-rw-r--r--winsup/cygwin/sigproc.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/sigproc.cc b/winsup/cygwin/sigproc.cc
index 15073c8db..ceea74833 100644
--- a/winsup/cygwin/sigproc.cc
+++ b/winsup/cygwin/sigproc.cc
@@ -1150,7 +1150,7 @@ wait_sig (VOID *)
if (sig > 0 && sig != SIGKILL && sig != SIGSTOP &&
(sigismember (& myself->getsigmask (), sig) ||
- myself->process_state & PID_STOPPED))
+ (sig != SIGCONT && myself->process_state & PID_STOPPED)))
{
sigproc_printf ("sig %d blocked", sig);
break;