This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: SIGINT default behavior


On Oct  8 05:53, Pedro Izecksohn wrote:
> 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.

Using your testcase, I can't reproduce this issue under Cygwin 1.7.
Neither in a Windows console window, nor in Xterm under X.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]