This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: fopen() bug
- To: khan at xraylith dot wisc dot edu, stevew at srware dot com
- Subject: Re: fopen() bug
- From: Stephen Whiteley <stevew at best dot com>
- Date: Mon, 16 Nov 1998 08:47:02 -0800 (PST)
- Cc: gnu-win32 at cygnus dot com
Re: fopen("", "r")
> 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''.
fopen(0, "r") maybe should fault, since that seems to be a common
result under UNIX. Otherwise, porting from Cygnus -> UNIX might break
someone's (buggy) application.
Steve
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".