mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-30 18:51:28 +01:00
Call rtl_do_close handler in sysfile.do_close, as reported by Kostas Michalopoulos
This commit is contained in:
parent
1bcf4a5a8c
commit
5930ffa135
@ -24,6 +24,8 @@
|
|||||||
{ close a file from the handle value }
|
{ close a file from the handle value }
|
||||||
procedure do_close(handle : longint);
|
procedure do_close(handle : longint);
|
||||||
begin
|
begin
|
||||||
|
if assigned (@rtl_do_close) then
|
||||||
|
rtl_do_close(handle);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -24,6 +24,8 @@
|
|||||||
{ close a file from the handle value }
|
{ close a file from the handle value }
|
||||||
procedure do_close(handle : longint);
|
procedure do_close(handle : longint);
|
||||||
begin
|
begin
|
||||||
|
if assigned (@rtl_do_close) then
|
||||||
|
rtl_do_close(handle);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user