Problem with stat
David Kastrup
dak@gnu.org
Tue Jun 26 14:01:00 GMT 2007
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/
More information about the Cygwin
mailing list