[fpc-devel]Flushing files automatically closed on exit

Peter Vreman peter at freepascal.org
Tue Jan 9 12:09:54 CET 2001

> > to be caused by my relying on program exit to close the file, and Free
> > Pascal not doing a flush when it automatically closed it.
> > 
> > I have compiled this program using several other compilers (Turbo (1.0?),
> > UCSD, gpc...) and not had this problem, so I think it is at least an
> > incompatibility with most compilers, if not a bug.
> Whoops, forgot to say that I'll test with BP tonight, and if it allows it,
> try to see if it can be fixed.

BP doesn't keep a list of open files. It leaves it up to the OS.

More information about the fpc-devel mailing list