Hooray! How can I patch to see if it fixes my problem?
-------- Original message --------
From: "Igor Stasenko [via Smalltalk]" <[hidden email]>
Date: 12/02/2013 8:31 PM (GMT-05:00)
To: "Sean P. DeNigris" <[hidden email]>
Subject: Re: NativeBoost String Handling Bug?
On 3 December 2013 00:32, Sean P. DeNigris <[hidden email]> wrote:
Great! It's be nice to get this and system calls working in one shot... how do we proceed? How do we test? I'm willing to help...sound really as some bug.. and similar to system() call.my versions is:- it could be that strings are expected to be 16-byte aligned- that there's some bug with converting to null-terminated C string
if there some bug, it must be in NBExternalStringwhich responsible for marshalling strings.try to change the alignment for the pointer and see how it goes in
reserveStackBytes: numBytesOrBlock andStoreAddrTo: aTempbecause right now it aligns the total space to reserve on stack(amount to subtract from SP), but not SP itselfalignment should use powers of 2 , of course.
--
Best regards,
Igor Stasenko.