mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 19:28:13 +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
|
||||
|
||||
var
|
||||
old_exit : pointer;
|
||||
|
||||
procedure printer_exit;
|
||||
begin
|
||||
close(lst);
|
||||
exitproc:=old_exit;
|
||||
end;
|
||||
|
||||
|
||||
begin
|
||||
assign(lst,'prt:');
|
||||
rewrite(lst);
|
||||
old_exit:=exitproc;
|
||||
exitproc:=@printer_exit;
|
||||
end.
|
||||
{
|
||||
$Log :printer.pp,v $
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user