mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-06 11:28:06 +02:00
* use the name of the target so that the correct attributes are retrieved (namely those of the target)
git-svn-id: trunk@43109 -
This commit is contained in:
parent
b289805a91
commit
35452fc670
@ -472,7 +472,7 @@ begin
|
||||
end;
|
||||
end;
|
||||
|
||||
Handle := FindFirstFileExW(PUnicodeChar(FileName), FindExInfoDefaults , @SymLinkRec.FindData,
|
||||
Handle := FindFirstFileExW(PUnicodeChar(SymLinkRec.TargetName), FindExInfoDefaults , @SymLinkRec.FindData,
|
||||
FindExSearchNameMatch, Nil, 0);
|
||||
if Handle <> INVALID_HANDLE_VALUE then begin
|
||||
Windows.FindClose(Handle);
|
||||
|
Loading…
Reference in New Issue
Block a user