* don't move the output/stderr handle to the end on Windows and WinCE as that is handled by TIODescriptor.CreateFileNameHandle()

This commit is contained in:
Sven/Sarah Barth 2025-01-13 23:26:34 +01:00
parent 9355e703d7
commit 15f88d5e13
2 changed files with 0 additions and 4 deletions

View File

@ -336,8 +336,6 @@ begin
begin
Result:=CreateFileW(PWideChar(WideString(aFileName)), GENERIC_WRITE,
FILE_SHARE_READ, @sec, OPEN_ALWAYS, FILE_ATTRIBUTE_NORMAL, 0);
if not(Result=INVALID_HANDLE_VALUE) then
FileSeek(Result, 0, 2);
end;
end;
if (Result=INVALID_HANDLE_VALUE) then

View File

@ -367,8 +367,6 @@ begin
begin
Result:=CreateFileW(PWideChar(WideString(aFileName)), GENERIC_WRITE,
FILE_SHARE_READ, @sec, OPEN_ALWAYS, FILE_ATTRIBUTE_NORMAL, 0);
if not(Result=INVALID_HANDLE_VALUE) then
FileSeek(Result, 0, 2);
end;
end;
if (Result=INVALID_HANDLE_VALUE) then