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

Re: svn commit: r23434 - in trunk/subversion: include libsvn_client libsvn_subr

From: Hyrum K. Wright <hyrum_wright_at_mail.utexas.edu>
Date: 2007-02-21 17:26:02 CET

Garrett Rooney wrote:
> On 2/21/07, Hyrum K. Wright <hyrum_wright@mail.utexas.edu> wrote:
>
>> No strong objections here. In fact, if we return an svn_error_t *,
>> which I think we should, we'd better be passing in a pool, because we
>> would need to allocate potential errors from that pool.
>
> That's incorrect. Errors are allocated within their own pool, because
> they often need to persist longer than the pool available in the
> function they are created in.

Ah, you are right. I've gotten used to seeing the pool parameter to
create the arguments for the format string to svn_error_createf().
Thanks correcting me.

-Hyrum

Received on Wed Feb 21 17:26:22 2007

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.