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
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
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
On Oct 8 05:53, 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
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
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.
r...@turion ~/programming/c/sigint
$ cat test.c
#include stdio.h
#include stdlib.h
int main ()
{
printf (Press Control c\n);
char buffer [3];
char *fgets_returned = fgets (buffer, sizeof buffer, stdin);
if (!fgets_returned)
{
if (ferror (stdin))
{
perror (ferror (stdin));
On 10/07/2009 11:10 PM, 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.
--
Larry Hall
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
9 matches
Mail list logo