indeed may be we should do that
http://code.google.com/p/pharo/issues/detail?id=2907
On Sep 3, 2010, at 2:46 PM, Henrik Johansen wrote:
> A better choice might be Smalltalk os platformName, which works on Pharo 1.1,
> 1.2, Squeak 4.1 and 4.2.
> (well, as soon as it's properly undeprecated in 1.2 at least, #platform
> should be removed instead...)
>
> Cheers,
> Henry
>
> On Sep 3, 2010, at 2:30 23PM, Lukas Renggli wrote:
>
>> Why? OSPlatform doesn't even exist in Pharo 1.1.
>>
>> Lukas
>>
>> 2010/9/3 Cyrille Delaunay <[email protected]>:
>>> In the package Filesystem,
>>> FSPlatformResolver class >> forCurrentPlatform
>>> | platformName |
>>> platformName := SmalltalkImage current platformName.
>>> ^ (self allSubclasses detect: [:ea | ea platformName = platformName]) new
>>> should be replaced by
>>> FSPlatformResolver class >> forCurrentPlatform
>>> | platformName |
>>> platformName := OSPlatform platformName.
>>> ^ (self allSubclasses detect: [:ea | ea platformName = platformName]) new
>>> _______________________________________________
>>> Pharo-project mailing list
>>> [email protected]
>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>
>>
>>
>>
>> --
>> Lukas Renggli
>> www.lukas-renggli.ch
>>
>> _______________________________________________
>> Pharo-project mailing list
>> [email protected]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> [email protected]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project