[BUG] FileList does not rename and does not delete some files

Ned Konz ned at squeakland.org
Tue Jan 6 19:54:20 UTC 2004

On Tuesday 06 January 2004 11:41 am, Boris Gaertner wrote:

> I think that I can say that files with suffixes '.cs' and '.st'
> are not deleted. Interestingly enough, you cannot rename
> such files with the FileList. However, when you rename 
> a '.cs' file with the Windows explorer (and give it a
> different suffix, say  'txt') , you can delete it with the
> filelist. 
> Is there an option somewhere that protects files with
> suffixes 'cs', 'st' from deletion? I could not find one, 
> but perhaps you know more about options?

Are these files open somehow? Some versions of Windows won't let you delete or 
rename open files.

Do this:

Smalltalk garbageCollect.
((StandardFileStream allSubInstances reject: [ :ea | ea closed ]) collect: 
[ :ea | ea fullName]) explore

> For now, my questions to the community are:
> 1. Can you reproduce this bug on a windows platform?

> 2. Can you reproduce this bug on other platforms?

Not on Linux.

More information about the Squeak-dev mailing list