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


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

- --
Don't work too hard, make some time for fun as well!

Eric Blake             ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGgRLy84KuGfSFAYARAhtOAKDZTcbWqFKjsEUrEAHfUtChBRUQpACgyU2w
JJKveh0gcLGBBKS0RvMor3E=
=Wcqz
-----END PGP SIGNATURE-----

--
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]