pastojs: ExpandFileNamePJ for \\?\

git-svn-id: trunk@40047 -
This commit is contained in:
Mattias Gaertner 2018-10-26 08:08:20 +00:00
parent 70a21c91c1
commit 06364845d6

View File

@ -287,7 +287,7 @@ begin
//See: http://msdn.microsoft.com/en-us/library/windows/desktop/aa365247%28v=vs.85%29.aspx
if (Length(Fn) > 3) and (Fn[1] = PathDelim) and (Fn[2] = PathDelim) and
(Fn[3] = '?') and (Fn[4] = PathDelim) //Do NOT use AllowDirectorySeparators here!
then Exit;
then Exit(FN);
ForcePathDelims(Fn);
IsAbs := FileNameIsWinAbsolute(Fn);
if not IsAbs then