[squeak-dev] Xtreams : first embryonary port on Squeak

Nicolas Cellier nicolas.cellier.aka.nice at gmail.com
Sun Oct 10 09:20:31 UTC 2010


2010/10/10 Levente Uzonyi <leves at elte.hu>:
> On Sun, 10 Oct 2010, Nicolas Cellier wrote:
>
snip...
>
>>
>> THE STATUS OF TESTS:
>>
>> Tests do not all pass. There seems to be a bug in Squeak
>> #replace:from:to:with: when the replacement is the collection itself,
>> moved to the right (this is with a COG VM).
>
> #replace:from:to:with: is not supposed to work for moves. IIRC the primitive
> version uses memcpy (or strncpy), so moving to the left works just because
> the undelying C function supports it. I used to (ab)use this feature though.
>
>
> Levente
>

Shouldn't we use memmove then ?

Nicolas



More information about the Squeak-dev mailing list