From: khan AT xraylith DOT wisc DOT edu (Mumit Khan) Subject: Re: fopen() bug 16 Nov 1998 03:49:12 -0800 Message-ID: <9811160741.AA24536.cygnus.gnu-win32@modi.xraylith.wisc.edu> References: <199811090611 DOT WAA00749 AT srware DOT com> To: "Stephen R. Whiteley" Cc: gnu-win32 AT cygnus DOT com "Stephen R. Whiteley" 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 AT cygnus DOT com" with one line of text: "help".