[fpc-pascal] Reading past end of file, no error

Tom Verhoeff T.Verhoeff at tue.nl
Thu Sep 8 14:26:02 CEST 2005


On Wed, Sep 07, 2005 at 07:12:37PM +0200, Jonas Maebe wrote:
> 
> On 07 Sep 2005, at 17:13, Tom Verhoeff wrote:
> 
> >At some point in the 1.9 branch, this changed (and now it bites me).
> >Now it silently assigns 0 to i on the second read.  Even with -Ci as
> >option or {$I+}.
> 
> This was a bug in 2.0 which has been fixed for 2.0.1 already.

It is still in 2.0.1 [2005/06/01] for i386, which does have a fix for
another problem at the end of a file (viz. reading when the last line
is not terminated by an eoln marker).

	Tom
-- 
E-MAIL: T.Verhoeff @ TUE.NL     | Fac. of Math. & Computing Science
PHONE:  +31 40 247 41 25        | Eindhoven University of Technology
FAX:    +31 40 247 54 04        | PO Box 513, NL-5600 MB Eindhoven
http://www.win.tue.nl/~wstomv/  | The Netherlands



More information about the fpc-pascal mailing list