diff options
Diffstat (limited to 'winsup/cygwin/path.cc')
-rw-r--r-- | winsup/cygwin/path.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc index 887885d22..c1f306efa 100644 --- a/winsup/cygwin/path.cc +++ b/winsup/cygwin/path.cc @@ -2651,10 +2651,7 @@ restart: (which can be symlinks to directories). */ else if (fs.is_nfs () && !no_ea && !(fileattr & FILE_ATTRIBUTE_DIRECTORY)) { - if (!(access & GENERIC_READ)) - res = 0; - else - res = check_nfs_symlink (h); + res = check_nfs_symlink (h); if (res) break; } |