This is the mail archive of the cygwin-apps 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]
Other format: [Raw text]

Re: [PATCH 3/4] Make io_stream::exists() directory aware


Den 2010-12-16 20:38 skrev Jon TURNEY:
> On 29/11/2010 11:28, Corinna Vinschen wrote:
>> I would prefer if you would use GetFileAttributesA here, just like the
>> io_stream_file::exists method.  This also unifies testing the
>> attributes.
> 
> Oh, I used _stat() in the !IsWindowsNT() case as MSDN tells me that
> GetFileAttributes() isn't available prior to Win2K.  I guess I've been misled :-)

That's just MS trying to rewrite history now that Win2k is is the oldest
supported OS.  According to MSDN, no API predates Win2k.  Stupid if you
ask me...

Cheers,
Peter


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