* fhandler.cc (rootdir): Clarify comment.

This commit is contained in:
Corinna Vinschen 2006-12-10 16:20:43 +00:00
parent 37ae69e8b1
commit 6c64fb2fda
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,7 @@
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

View File

@ -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;