Thanks.  Applied.

cgf

On Wed, Jan 10, 2001 at 10:42:51PM +0900, Kazuhiro Fujieda wrote:
>Wait_sig can't dispatch SIGCONT.
>For example, cat will choke aftern the following session.
>$ cat
>^Z
>[1]+  Stopped                 cat
>$ fg
>cat
>
>The following patch can solve this problem.
>
>ChangeLog:
>Wed Jan 10 22:08:30 2001  Kazuhiro Fujieda  <[EMAIL PROTECTED]>
>
>       * sigproc.cc (wait_sig): Don't block SIGCONT incorrectly.
>
>Index: sigproc.cc
>===================================================================
>RCS file: /cvs/src/src/winsup/cygwin/sigproc.cc,v
>retrieving revision 1.67
>diff -u -p -r1.67 sigproc.cc
>--- sigproc.cc 2001/01/08 04:02:01     1.67
>+++ sigproc.cc 2001/01/10 13:03:20
>@@ -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;
>

Reply via email to