This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: SIGINT default behavior
I, Pedro Izecksohn <pedro.izecksohn@...> wrote:
> Robert Pendell <shinji@...> wrote:
>>
>> 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.
>
> ÂMay be I did not express myself well:
>
> ÂWhen ctrl c is pressed, it always give exit code 130. The
> inconsistencies are ferror (stdin) and perror behaviors.
What I understand as a bug is: fgets should not return after SIG_DFL
caught SIGINT.
--
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