[fpc-devel]Flushing files automatically closed on exit

Marco van de Voort marcov at stack.nl
Tue Jan 9 12:29:51 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.

So far for BP. And I assume Delphi doesn't buffer at all (leaves that too
to the OS), so there this can't happen at all.





More information about the fpc-devel mailing list