file primitive test suite

Pennell, David DPennell at quallaby.com
Mon Nov 19 13:17:32 UTC 2001


> Yes, you can delete an open file on a Unix system. The file is not
> really deleted, but its name is removed from a directory. When
> all open references to the file go away, then the file is really
> deleted. This is analogous to an object which does not get garbage
> collected until all references to the object are gone.

And it is common practice to do this when creating temporary files 
on Unix.  If your application crashes (or is killed), you don't leave
breadcrumbs on the floor.

-david




More information about the Squeak-dev mailing list