[squeak-dev] Re: Spur vs Cog: FileDirectory paths

Nicolai Hess nicolaihess at web.de
Thu Sep 11 07:02:35 UTC 2014


2014-09-11 8:44 GMT+02:00 Bert Freudenberg <bert at freudenbergs.de>:

>
> On 11.09.2014, at 00:29, Nicolai Hess <nicolaihess at web.de> wrote:
>
> FileDirectory>>on: path
>     "Return another instance"
>
>     ^ self class on: ((path at: 1 ifAbsent: nil) = self pathNameDelimiter
>                         ifTrue: [path]
>                         ifFalse: [pathName asString, (String with: self
> pathNameDelimiter), path])
>
>
>
> Where do you see that code? In Squeak 4.5 we have
>
> FileDirectory>>on: fullPath
> "Return another instance"
>
> ^ self class on: fullPath
>
> - Bert -
>
>
>
>
>
>
>

Yes, squeak correctly delegates toe the platfom class.

The above code is from the spur image I guessed Frank used for his spur
tests.

http://www.mirandabanda.org/files/Cog/VM/SpurImages/2014-09-09/trunk46-spur.image
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20140911/c60b7a98/attachment.htm


More information about the Squeak-dev mailing list