This is the mail archive of the cygwin 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: Problem with stat


Eric Blake <ebb9@byu.net> writes:

> According to David Kastrup on 6/26/2007 7:10 AM:
>> 
>> fstat, yes.  But shouldn't stat be able to report S_ISLNK on a broken
>> link?
>
> No.  It must fail with ENOENT.
> http://www.opengroup.org/onlinepubs/009695399/functions/stat.html

No information there.  "component of a path" has nothing to do with
symlink resolution.

-- 
David Kastrup


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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