From: cgf AT cygnus DOT com (Christopher G. Faylor) Subject: Re: problems reading/writing to files? 11 Jul 1998 22:32:44 GMT Message-ID: <6o8p6c$hqa$1@cronkite.cygnus.com> References: <3 DOT 0 DOT 5 DOT 32 DOT 19980711005355 DOT 00944100 DOT cygnus DOT gnu-win32 AT terraworld DOT net> X-Newsreader: trn 4.0-test63 (15 March 1998) In article <3 DOT 0 DOT 5 DOT 32 DOT 19980711005355 DOT 00944100 DOT cygnus DOT gnu-win32 AT terraworld DOT net>, Jonathan George wrote: >Hello all! > >I'm compiling a program using cygwin b19.1, (gcc -o lite lite.c). > >The compile goes smoothly (no errors), yet when I run the program it seems >to core dump everytime it tries to either READ or WRITE to a file (using >fprintf and/or fgets... > >Here is the core: Debug this problem using gdb, just like you would do under UNIX. Your program has an error in it. This is probably not a cygwin problem. -- cgf AT cygnus DOT com "Everything has a boolean value, if you stand http://www.cygnus.com/ far enough away from it." -- Galena Alyson Canada