Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2008-07-15 00:46:27 +0400
committerCorinna Vinschen <corinna@vinschen.de>2008-07-15 00:46:27 +0400
commit3e153bcd55438cd3a3df5a367371ee9b5f34c81b (patch)
tree50f8607ab1ae2bb0b350130f11575f4ea4c26a25 /winsup/cygwin/fhandler.cc
parente2406d71aa6a1b632e67f7cd1e53c7d38533cec6 (diff)
* fhandler.cc (fhandler_base::fpathconf): On _PC_POSIX_PERMISSIONS
and _PC_POSIX_SECURITY, return true for NFS, too.
Diffstat (limited to 'winsup/cygwin/fhandler.cc')
-rw-r--r--winsup/cygwin/fhandler.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler.cc b/winsup/cygwin/fhandler.cc
index 410e0b815..07961f19f 100644
--- a/winsup/cygwin/fhandler.cc
+++ b/winsup/cygwin/fhandler.cc
@@ -1640,7 +1640,7 @@ fhandler_base::fpathconf (int v)
case _PC_POSIX_PERMISSIONS:
case _PC_POSIX_SECURITY:
if (get_device () == FH_FS)
- return pc.has_acls ();
+ return pc.has_acls () || pc.fs_is_nfs ();
set_errno (EINVAL);
break;
default: