[BUG][FIX?] UnixFileDirectory
Bert Freudenberg
bert at isgnw.CS.Uni-Magdeburg.De
Mon May 8 15:01:38 UTC 2000
On Mon, 8 May 2000, Stephan Rudlof wrote:
> I'm not sure if this is a good manner to fix this problem, or if a
> deeper refactoring would be better.
> Under Unix '/' is a real directory, and not just a path delimiter like
> the corresponding characters/strings in other file systems.
The root of the problem is that by convention, in Squeak '' stands for the
root of the file system (see FileDir>>root). IIRC, on Windows
(FileDirectory on: '') directoryNames
gives the list of all drives (this is how the File List works). On Mac,
it gives what?
But I don't see an easy way to make Unix behave like this. I'd say your
fix is just fine ...
-- Bert
More information about the Squeak-dev
mailing list
|