ntdll: Set the file_part for \\?\ long file names too
Eric Pouech
eric.pouech at wanadoo.fr
Sat Oct 15 06:40:53 CDT 2005
> if (!ntpath->Buffer) return FALSE;
> memcpy( ntpath->Buffer, dos_path, ntpath->MaximumLength );
> ntpath->Buffer[1] = '?'; /* change \\?\ to \??\ */
> + RtlGetFullPathName_U(dos_path, sizeof(local), local, file_part);
> return TRUE;
> }
this is wrong as file_part must point into ntpath->Buffer, not into
local, as your code does...
A+
--
Eric Pouech
More information about the wine-devel
mailing list