On Thu, Oct 08, 2009 at 09:43:32AM -0400, Christopher Faylor wrote: >On Thu, Oct 08, 2009 at 05:53:47AM -0300, Pedro Izecksohn wrote: >>I, Pedro Izecksohn <pedro.izecks...@...> wrote: >>> Robert Pendell <shi...@...> 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. > >I can reproduce this. It is a bug. I'll fix it ASAP.
This should be fixed in today's snapshot, when it shows up. http://cygwin.com/snapshots/ FWIW, it's a pretty old bug. cgf -- 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