mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: Verify after copy under macOS
This commit is contained in:
parent
cdbb2852f6
commit
2e0343433d
1 changed files with 2 additions and 2 deletions
|
|
@ -874,7 +874,7 @@ begin
|
|||
begin
|
||||
FileCloseOnExec(Result);
|
||||
{$IF DEFINED(DARWIN)}
|
||||
if (Mode and fmOpenDirect <> 0) then
|
||||
if (Mode and (fmOpenSync or fmOpenDirect) <> 0) then
|
||||
begin
|
||||
if (FpFcntl(Result, F_NOCACHE, 1) = -1) then
|
||||
begin
|
||||
|
|
@ -915,7 +915,7 @@ begin
|
|||
begin
|
||||
FileCloseOnExec(Result);
|
||||
{$IF DEFINED(DARWIN)}
|
||||
if (Mode and fmOpenDirect <> 0) then
|
||||
if (Mode and (fmOpenSync or fmOpenDirect) <> 0) then
|
||||
begin
|
||||
if (FpFcntl(Result, F_NOCACHE, 1) = -1) then
|
||||
begin
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue