File closing annoyances

Tim Rowledge tim at sumeru.stanford.edu
Wed Jan 1 23:27:20 UTC 2003


"David T. Lewis" <lewis at mail.msen.com> is claimed by the authorities to have written:

> I suspect that there are any number of platforms on which it would be
> a bad idea to have the changes file open at the same time the VM
> decides to crash. I feel a bit safer overall having the changes file
> in a normally-closed condition.
Oh, but it _isn't_ normally closed; the code flushes the filestream and
then closes it and then opens it again!

tim

-- 
Tim Rowledge, tim at sumeru.stanford.edu, http://sumeru.stanford.edu/tim
Strange OpCodes: RDRI: Rotate Disk Right Immediate




More information about the Squeak-dev mailing list