From 6c64fb2fda86ae252db928f9e5595463b2ae36c5 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Sun, 10 Dec 2006 16:20:43 +0000 Subject: [PATCH] * fhandler.cc (rootdir): Clarify comment. --- winsup/cygwin/ChangeLog | 4 ++++ winsup/cygwin/fhandler.cc | 5 +++-- 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,3 +1,7 @@ +2006-12-10 Corinna Vinschen + + * fhandler.cc (rootdir): Clarify comment. + 2006-12-10 Corinna Vinschen * fhandler.cc (rootdir): Don't look for volume mount points on remote 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;