* fhandler.cc (rootdir): Don't look for volume mount points on remote
shares.
This commit is contained in:
parent
30cf835f7e
commit
37ae69e8b1
|
@ -1,3 +1,8 @@
|
|||
2006-12-10 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* fhandler.cc (rootdir): Don't look for volume mount points on remote
|
||||
shares.
|
||||
|
||||
2006-12-10 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* fhandler.cc (rootdir): Drop useless post-increment. Take volume
|
||||
|
|
|
@ -1240,8 +1240,9 @@ rootdir (const char *full_path, char *root_path)
|
|||
*rootp++ = '\\';
|
||||
*rootp = '\0';
|
||||
|
||||
/* This also determines whether reparse points are available. */
|
||||
if (!wincap.has_guid_volumes ())
|
||||
/* This determines whether reparse points are available. Reparse points
|
||||
on remote shares are not recognized by Windows. */
|
||||
if (!wincap.has_guid_volumes () || GetDriveType (root_path) == DRIVE_REMOTE)
|
||||
return root_path;
|
||||
|
||||
PREPARSE_DATA_BUFFER rp = (PREPARSE_DATA_BUFFER)
|
||||
|
|
Loading…
Reference in New Issue