This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: fopen() bug
- To: "Stephen R. Whiteley" <stevew at srware dot com>
- Subject: Re: fopen() bug
- From: Mumit Khan <khan at xraylith dot wisc dot edu>
- Date: Mon, 16 Nov 1998 01:41:09 -0600
- Cc: gnu-win32 at cygnus dot com
"Stephen R. Whiteley" <stevew@srware.com> writes:
>
> fopen("", "r") causes a segmentation fault. It should simply return 0.
>
Thanks for the bug report. The next winsup minor update (b20.1) from
Cygnus should have the fix.
It still gets a SEGV when you provide a NULL pointer for file name,
but that's allowed by POSIX. I'll however send a fix that for that
as well to be ``user friendly''.
Regards,
Mumit
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".