summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2015-12-15 17:03:09 +0100
committerCorinna Vinschen <corinna@vinschen.de>2016-06-24 22:48:40 +0200
commit8b7c4f67c67cfdb59848064417743e57ea9fed40 (patch)
treea164250b8d69697873989429d76ccd2078080aa9
parent81031e6850fdc09b8b2e31283d88b4209ac79dfe (diff)
downloadcygnal-8b7c4f67c67cfdb59848064417743e57ea9fed40.tar.gz
cygnal-8b7c4f67c67cfdb59848064417743e57ea9fed40.tar.bz2
cygnal-8b7c4f67c67cfdb59848064417743e57ea9fed40.zip
fhandler_disk_file::opendir: Fix a comment
-rw-r--r--winsup/cygwin/fhandler_disk_file.cc12
1 files changed, 5 insertions, 7 deletions
diff --git a/winsup/cygwin/fhandler_disk_file.cc b/winsup/cygwin/fhandler_disk_file.cc
index 6e61ee2b8..f8abb772f 100644
--- a/winsup/cygwin/fhandler_disk_file.cc
+++ b/winsup/cygwin/fhandler_disk_file.cc
@@ -1880,13 +1880,11 @@ fhandler_disk_file::opendir (int fd)
while (!NT_SUCCESS (status));
}
- /* FileIdBothDirectoryInformation is apparently unsupported on
- XP when accessing directories on UDF. When trying to use it
- so, NtQueryDirectoryFile returns with STATUS_ACCESS_VIOLATION.
- It's not clear if the call isn't also unsupported on other
- OS/FS combinations. Instead of testing for yet another error
- code, let's use FileIdBothDirectoryInformation only on FSes
- supporting persistent ACLs, FileBothDirectoryInformation otherwise.
+ /* FileIdBothDirectoryInformation was unsupported on XP when
+ accessing UDF. It's not clear if the call isn't also unsupported
+ on other OS/FS combinations. Instead of testing for yet another
+ error code, use FileIdBothDirectoryInformation only on FSes
+ supporting persistent ACLs.
NFS clients hide dangling symlinks from directory queries,
unless you use the FileNamesInformation info class.