* path.cc (path_conv::get_nt_native_path): Properly detect \\?\ paths.
(mount_info::conv_to_win32_path): Update comment. * fhandler_disk_file.cc (path_conv::ndisk_links): Use backslashes to make NT kernel functions work for \\?\GLOBALROOT paths.
This commit is contained in:
@ -143,12 +143,12 @@ path_conv::ndisk_links (DWORD nNumberOfLinks)
|
||||
__DIR_mounts *dir = new __DIR_mounts (normalized_path);
|
||||
if (nNumberOfLinks <= 1)
|
||||
{
|
||||
s = "/*";
|
||||
s = "\\*";
|
||||
count = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
s = "/..";
|
||||
s = "\\..";
|
||||
count = nNumberOfLinks;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user