This is the mail archive of the cygwin-developers@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: stat() behavior differs on Win9x and WinNT


On Mon, May 08, 2000 at 11:30:11PM +0200, Corinna Vinschen wrote:
>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?

Yup.

cgf

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]