This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: SIGINT default behavior
On Thu, Oct 8, 2009 at 12:19 AM, Pedro Izecksohn wrote:
> Larry Hall wrote:
>> I, Pedro Izecksohn, wrote:
>>>
>>> Â The default behavior is not always the same. I also got:
>>> ferror (stdin):
>>> Â and
>>> ferror (stdin): Interrupted system call
>>> Â 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
>
> ÂThe beta version gives the same inconsistent results.
>
> --
> 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
>
>
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@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@Balthasar ~
$ cat /proc/version
CYGWIN_NT-6.1-WOW64 1.7.0(0.214/5/3) 2009-10-03 14:33
Robert Pendell
shinji@elite-systems.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