delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/06/25/15:08:00

From: cgf AT cygnus DOT com (Christopher G. Faylor)
Subject: Re: SIGINT pending no matter what!
25 Jun 1998 15:08:00 GMT :
Message-ID: <6mtp4g$8ss$1@cronkite.cygnus.com>
References: <TFSLFBTO DOT cygnus DOT gnu-win32 AT armature DOT com>
X-Newsreader: trn 4.0-test63 (15 March 1998)

In article <TFSLFBTO DOT cygnus DOT gnu-win32 AT armature DOT com>,
Robin Crampton <rcrampton AT armature DOT com> 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.
-- 
cgf AT cygnus DOT com             "Everything has a boolean value, if you stand
http://www.cygnus.com/      far enough away from it."  -- Galena Alyson Canada

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019