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

According to Jim Meyering on 11/3/2009 4:04 AM:
> +  if (errno == EROFS)
> +    {
> +      struct stat st;
> +      if ( ! (fstatat (fts->fts_cwd_fd, ent->fts_accpath, &st,
> +                       AT_SYMLINK_NOFOLLOW) && errno == ENOENT))

Why not use lstatat, rather than fstatat(,AT_SYMLINK_NOFOLLOW)?

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

Eric Blake             [email protected]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkrwKRcACgkQ84KuGfSFAYCyCACfcO+1LhRbfVFWPkAMAN05Xo9E
kbwAn1Ck3ShDKV9SB/svSDK7j52fsFXP
=vzWQ
-----END PGP SIGNATURE-----


Reply via email to