Date: Sun, 24 Mar 1996 17:02:12 +0200 (IST) From: Eli Zaretskii To: Charles Sandmann Cc: Kenji Masaki , djgpp-workers AT delorie DOT com Subject: Re: Re^2: Re:`stat' fails to detect nonexist In-Reply-To: <9603220141.AA15269@clio.rice.edu> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Thu, 21 Mar 1996, Charles Sandmann wrote: > > + if (stricmp(p,ffblk->ff_name)){ > > This is non ANSI so can't be called in this routine. No, `stricmp' is #define'd on as `__stricmp', so it's OK to use it here. Besides, `stat' isn't ANSI at all, so only POSIX-compliance is an issue here. > I actually > like having the code in stat() instead, since findfirst is supposed to > be a simple wrapper around the dos-like call. But I have no strong On a second thought, I like it better in `stat'. The correction in `findfirst' is a kludge whose only reason is to make `stat' work: `findfirst' will still fail if called with a wildcard.