mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 00:59:08 +02:00
* Standard handles are never closed on the Amiga.
This commit is contained in:
parent
bb21590124
commit
c76f66e7f1
@ -22,19 +22,12 @@ var
|
|||||||
|
|
||||||
implementation
|
implementation
|
||||||
|
|
||||||
var
|
|
||||||
old_exit : pointer;
|
|
||||||
|
|
||||||
procedure printer_exit;
|
|
||||||
begin
|
|
||||||
close(lst);
|
|
||||||
exitproc:=old_exit;
|
|
||||||
end;
|
|
||||||
|
|
||||||
|
|
||||||
begin
|
begin
|
||||||
assign(lst,'prt:');
|
assign(lst,'prt:');
|
||||||
rewrite(lst);
|
rewrite(lst);
|
||||||
old_exit:=exitproc;
|
|
||||||
exitproc:=@printer_exit;
|
|
||||||
end.
|
end.
|
||||||
|
{
|
||||||
|
$Log :printer.pp,v $
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user