[Vm-dev] [Pharo-dev] ftp repositories broken

Eliot Miranda eliot.miranda at gmail.com
Thu Apr 6 15:17:58 UTC 2017



> On Apr 5, 2017, at 1:35 AM, Denis Kudriashov <dionisiydk at gmail.com> wrote:
> 
> Hi guys.
> 
> I could not accept your explanation because I have test which works on latest squeakVM and not works on latest pharoVM. Try filein attachment and check it on both VMs. Test not depends on any difference between squeak and pharo images. You run it on both systems (not only VM's).
> I found that #primitiveFindSubstring not depends on receiver and you can put it on any class in system (in github C code there is no users of "rcvr" variable). So I just copy primitive method in test class.
> 
> But I could imaging that I not see/know something trivial. I will be glad to expand my mind :) but I see only reason: primitive is different (or absent) on latest pharoVM. 


Can we not simply compare the sources of src/plugins/MiscPrimitivesPlugin/MiscPrimitivesPlugin.c in the two VMs?

(If we were using one set of sources this issue would be moot).

> 
> 2017-04-04 19:03 GMT+02:00 Esteban Lorenzano <estebanlm at gmail.com>:
>> 
>>> On 4 Apr 2017, at 19:00, Denis Kudriashov <dionisiydk at gmail.com> wrote:
>>> 
>>> 
>>> 2017-04-04 18:45 GMT+02:00 Esteban Lorenzano <estebanlm at gmail.com>:
>>>>> > I think you are wrong because I check it carefully in Squeak and I found it on github https://github.com/OpenSmalltalk/opensmalltalk-vm/search?utf8=✓&q=primitiveFindSubstring&type=.
>>>> 
>>>> still is not there, because is not the same primitive :)
>>> 
>>> Does it also means that latest VM is built differently then stable? (primitive works on stable pharo). I just thought that we already moved to opensmalltalk build process.
>> 
>> stable works because the bug ByteString>>#find… instead of String>>#find… was introduced later. 
>> 
> 
> <FindStringPrimitiveTests.st>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20170406/02047317/attachment.html>


More information about the Vm-dev mailing list