* 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>
|
2006-12-10 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* fhandler.cc (rootdir): Drop useless post-increment. Take volume
|
* fhandler.cc (rootdir): Drop useless post-increment. Take volume
|
||||||
|
@ -1240,8 +1240,9 @@ rootdir (const char *full_path, char *root_path)
|
|||||||
*rootp++ = '\\';
|
*rootp++ = '\\';
|
||||||
*rootp = '\0';
|
*rootp = '\0';
|
||||||
|
|
||||||
/* This also determines whether reparse points are available. */
|
/* This determines whether reparse points are available. Reparse points
|
||||||
if (!wincap.has_guid_volumes ())
|
on remote shares are not recognized by Windows. */
|
||||||
|
if (!wincap.has_guid_volumes () || GetDriveType (root_path) == DRIVE_REMOTE)
|
||||||
return root_path;
|
return root_path;
|
||||||
|
|
||||||
PREPARSE_DATA_BUFFER rp = (PREPARSE_DATA_BUFFER)
|
PREPARSE_DATA_BUFFER rp = (PREPARSE_DATA_BUFFER)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user