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

Re: [PATCH] speed up svn_repos_authz_check_access

From: Roderich Schupp <roderich.schupp_at_gmail.com>
Date: Wed, 7 Aug 2013 11:36:30 +0200

On Wed, Aug 7, 2013 at 11:02 AM, Daniel Shahaf <danielsh_at_elego.de> wrote:

> > The patch needs to #include libsvn_subr/config_impl.h
> > in order to gain access to svn_config_t.pool:
> > the cache (apr_hash_t itself, keys and values) must be allocated from
> > the same pool as svn_config_t so that they have the same lifespan.
> Sorry, you can't do that. libsvn_repos may not rely on implementation
> details of libsvn_subr. However, you create the svn_config_t structure,
> so you know its lifetime; just pass the same pool around (probably in
> the baton).

I'll look into that.

Cheers, Roderich
Received on 2013-08-07 11:37:04 CEST

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