stat() behavior differs on Win9x and WinNT

Corinna Vinschen corinna@vinschen.de
Mon May 8 14:32:00 GMT 2000


Chris Faylor wrote:
> 
> On Mon, May 08, 2000 at 11:51:53AM +0200, Corinna Vinschen wrote:
> >"Fifer, Eric" wrote:
> >>
> >> With recent snapshots, stat() of a file with an invalid name,
> >> like stat("abc>def") ('>' is not allowed in file names), does
> >> not fail on Win98:
> >> [...]
> >[...]
> >IMO the mapping ERROR_BAD_PATHNAME -> EINVAL is incorrect.
> 
> I agree.  Is the closest UNIX equivalent ENOENT?  If so, let's make this
> change.

Yes, it is the closest equiv. Should I check it in?

Corinna


More information about the Cygwin-developers mailing list