delorie.com/archives/browse.cgi | search |
Eric Blake <ebb9 AT byu DOT 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |