mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-20 13:29:14 +02:00
* Patch from Reinier Olieslagers to reinstate endoffile event
git-svn-id: trunk@22137 -
This commit is contained in:
parent
c9e622b5a8
commit
8114b9069f
@ -1227,6 +1227,7 @@ Begin
|
|||||||
FreeAndNil(FInFile)
|
FreeAndNil(FInFile)
|
||||||
else
|
else
|
||||||
FinFile:=Nil;
|
FinFile:=Nil;
|
||||||
|
DoEndOfFile;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
@ -1606,6 +1607,7 @@ Begin
|
|||||||
end
|
end
|
||||||
else
|
else
|
||||||
FreeAndNil(OutStream);
|
FreeAndNil(OutStream);
|
||||||
|
DoEndOfFile;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user