delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/10/08/02:12:57

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <94b5b62d0910072119i31175fft90fba12577e1e914@mail.gmail.com>
References: <94b5b62d0910072010u50e1ab55m55de9d795614d303 AT mail DOT gmail DOT com> <4ACD5B9F DOT 8030700 AT cygwin DOT com> <94b5b62d0910072119i31175fft90fba12577e1e914 AT mail DOT gmail DOT com>
Date: Thu, 8 Oct 2009 02:12:45 -0400
Message-ID: <a13b5a590910072312g2e5ad247pa8b3bb1d5020fcbf@mail.gmail.com>
Subject: Re: SIGINT default behavior
From: Robert Pendell <shinji AT elite-systems DOT org>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Thu, Oct 8, 2009 at 12:19 AM, Pedro Izecksohn wrote:
> Larry Hall wrote:
>> I, Pedro Izecksohn, wrote:
>>>
>>> =C2=A0 The default behavior is not always the same. I also got:
>>> ferror (stdin):
>>> =C2=A0 and
>>> ferror (stdin): Interrupted system call
>>> =C2=A0 and the expected behavior of just the exit code 130.
>>>
>>
>> Try Cygwin 1.7 <http://cygwin.com/#beta-test>.
>
> $ cat /proc/version
> CYGWIN_NT-6.0 1.7.0(0.214/5/3) 2009-10-03 14:33
>
> =C2=A0The beta version gives the same inconsistent results.
>
> --
> Problem reports: =C2=A0 =C2=A0 =C2=A0 http://cygwin.com/problems.html
> FAQ: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 http:=
//cygwin.com/faq/
> Documentation: =C2=A0 =C2=A0 =C2=A0 =C2=A0 http://cygwin.com/docs.html
> Unsubscribe info: =C2=A0 =C2=A0 =C2=A0http://cygwin.com/ml/#unsubscribe-s=
imple
>
>

I was unable to reproduce this bug on 1.7.  Compiled using GCC 4.3.4
on 1.7.0-62.  Gave exit code 130 every time.  I used your test case to
do the test.

shinji AT Balthasar ~
$ gcc --version
gcc (GCC) 4.3.4 20090804 (release) 1
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


shinji AT Balthasar ~
$ cat /proc/version
CYGWIN_NT-6.1-WOW64 1.7.0(0.214/5/3) 2009-10-03 14:33


Robert Pendell
shinji AT elite-systems DOT org

"A perfect world is one of chaos."

Thawte Web of Trust Notary
CAcert Assurer

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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