[BUG][FIX] Please keep those files closed...

Andreas Raab andreas.raab at gmx.de
Mon Mar 1 00:48:03 UTC 2004


"Change Set:  PleaseKeepFilesClosed
Date:   1 March 2004
Author:   Andreas Raab

Two services (ChangeList & FileContentsBrowser) used open files from the
file list as their arguments. Besides leaving dangling file pointers around
(we should REALLY turn off finalization for files just so people get what
they deserve) this may prevents anyone from actually renaming or deleting a
file which is selected in a file list.

The effect is particularly bad since it only shows for files that have a
source file suffix - so if you have selected 'foo.bar' everything will work
fine but as soon as you select 'foo.cs' or 'foo.st' things screw up.

"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PleaseKeepFilesClosed.2.cs
Type: application/octet-stream
Size: 2055 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20040301/f089ca05/PleaseKeepFilesClosed.2.obj


More information about the Squeak-dev mailing list