[FIX] some FileURL fixes (was Re: While I'm at it...(Re: [BUG]?
FileDirectory>>directoryContentsFor:))
Bert Freudenberg
bert at isg.cs.uni-magdeburg.de
Mon Mar 19 17:42:31 UTC 2001
On Sun, 18 Mar 2001, Ned Konz wrote:
> On Sunday 18 March 2001 08:30, Lex Spoon wrote:
>
> > If you inspect the two URL's, however, you will see that the isAbsolute
> > instance variable is stored correctly. Hrm, it looks like #toText is
> > also goofed up -- it prints *two* slashes in the first case! Yarg!!
>
> I fixed some FileURL bugs a while ago; the CS is attached. However, it
> doesn't fix pathForFile.
>
> It does fix toText, though.
>
> The problem with pathForFile is that you have to know the base.
>
> And some operating systems (Windows/CE, for instance) don't have the concept
> of a "current directory", so you can't use that, in general.
Wouldn't it make sense to use "FileDir default" as base?
-- Bert
More information about the Squeak-dev
mailing list
|