FIX: Don't use flock function, it does not work correct with network file systems (issue #2018)

This commit is contained in:
Alexander Koblov 2025-10-03 01:12:02 +03:00
commit 0f9f752cc5

View file

@ -892,7 +892,6 @@ begin
end;
end;
{$ENDIF}
Result:= FileLock(Result, Mode and $FF);
end;
end;
{$ENDIF}
@ -933,7 +932,6 @@ begin
end;
end;
{$ENDIF}
Result:= FileLock(Result, Mode and $FF);
end;
end;
{$ENDIF}