summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/fhandler.cc5
2 files changed, 7 insertions, 2 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 27b6724ab..79abea9bf 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,5 +1,9 @@
2006-12-10 Corinna Vinschen <corinna@vinschen.de>
+ * fhandler.cc (rootdir): Clarify comment.
+
+2006-12-10 Corinna Vinschen <corinna@vinschen.de>
+
* fhandler.cc (rootdir): Don't look for volume mount points on remote
shares.
diff --git a/winsup/cygwin/fhandler.cc b/winsup/cygwin/fhandler.cc
index dfa2e2177..26ad3e96c 100644
--- a/winsup/cygwin/fhandler.cc
+++ b/winsup/cygwin/fhandler.cc
@@ -1240,8 +1240,9 @@ rootdir (const char *full_path, char *root_path)
*rootp++ = '\\';
*rootp = '\0';
- /* This determines whether reparse points are available. Reparse points
- on remote shares are not recognized by Windows. */
+ /* This determines whether reparse points are available. Volume reparse
+ points on remote shares are not recognized by Windows functions like
+ GetVoluemInformation, nor by their native NT counterparts. */
if (!wincap.has_guid_volumes () || GetDriveType (root_path) == DRIVE_REMOTE)
return root_path;