[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Segfault in ruby tests

From: Joe Swatosh <joe.swatosh_at_gmail.com>
Date: Wed, 18 Feb 2009 12:41:01 -0800

On Wed, Feb 18, 2009 at 12:35 PM, Joe Swatosh <joe.swatosh_at_gmail.com> wrote:

>
> I have 3 ideas:
>
> 1) Follow the precedent of the Python bindings and just remove the digest.
> 2) Create an appropriately sized buffer in a member variable and pass
> it into Delta.txdelta_apply_wrapper (changing SWIG to use it instead
> of creating one)
> 3) Use kou's idea from the client context, create a pool associated
> with the object and allocate the buffer with that instead of on the
> stack.
>
> I'm thinking 1 is quickest and has a precedent. 2 and 3 might be over my head.
>

Nevermind 2 and 3 apply is a module function not an instance function.

--
Joe
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1187974
Received on 2009-02-18 21:41:18 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.