mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
parent
5990bf7cf4
commit
e56735c8b6
1 changed files with 4 additions and 0 deletions
|
|
@ -401,7 +401,9 @@ var
|
|||
LinkAttrs: TFileAttrs;
|
||||
begin
|
||||
Result := TFile.Create(APath);
|
||||
{$IF DEFINED(DARWIN)}
|
||||
Result.SetPropertyLazyLoader(@PropertyLazyLoader);
|
||||
{$ENDIF}
|
||||
|
||||
with Result do
|
||||
begin
|
||||
|
|
@ -477,7 +479,9 @@ begin
|
|||
raise EFileNotFound.Create(aFilePath);
|
||||
|
||||
Result := TFile.Create(ExtractFilePath(aFilePath));
|
||||
{$IF DEFINED(DARWIN)}
|
||||
Result.SetPropertyLazyLoader(@PropertyLazyLoader);
|
||||
{$ENDIF}
|
||||
FillFromStat(Result, aFilePath, @StatInfo);
|
||||
|
||||
{$ELSE}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue