* 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:
Corinna Vinschen
2006-10-09 14:01:52 +00:00
parent 5623fbd4ca
commit b9c7deed9a
3 changed files with 14 additions and 6 deletions

View File

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