Subject: Re: SIGINT pending no matter what!
From: [email-masked] (Christopher G. Faylor)

25 Jun 1998 15:08:00 GMT
Message-ID: <[email-masked]>
References: <[email-masked]>
X-Newsreader: trn 4.0-test63 (15 March 1998)

In article <[email-masked]>,
Robin Crampton <[email-masked]> wrote:
>The program below produces the following output:
>
> $ ./a
> Interrupt!
> Done.
> $
>
>pending_signals is set to 4 (reading the sigismember() sources and   
>sys/signal.h, this is SIGINT) whether I touch the keyboard or not.

It's a bug in sigpending () which I introduced a while ago.  The fix is
very simple but unfortunately there is no workaround -- you have to
rebuild cygwin32.  The change will be in the next release of Cygwin32.
-- 
[email-masked]             "Everything has a boolean value, if you stand
http://www.cygnus.com/      far enough away from it."  -- Galena Alyson Canada