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

Re: svn commit: r986605 - in /subversion/branches/performance/subversion: include/private/svn_cache.h libsvn_subr/cache-inprocess.c libsvn_subr/cache-membuffer.c libsvn_subr/cache-memcache.c libsvn_subr/cache.c libsvn_subr/cache.h

From: Stefan Fuhrmann <stefanfuhrmann_at_alice-dsl.de>
Date: Mon, 30 Aug 2010 12:43:20 +0200

Lieven Govaerts <svnlgo_at_mobsol.be
<mailto:svnlgo_at_mobsol.be?Subject=Re:%20svn%20commit:%20r986605%20-%20in%20/subversion/branches/performance/subversion:%20include/private/svn_cache.h%20libsvn_subr/cache-inprocess.c%20libsvn_subr/cache-membuffer.c%20libsvn_subr/cache-memcache.c%20libsvn_subr/cache.c%20libsvn_subr/cache.h>>
wrote:
>
> On Wed, Aug 18, 2010 at 11:21 AM, <stefan2_at_apache.org> wrote:
> /> Author: stefan2 /
> /> Date: Wed Aug 18 09:21:18 2010 /
> /> New Revision: 986605 /
> /> /
> /> URL: http://svn.apache.org/viewvc?rev=986605&view=rev
> <http://svn.apache.org/viewvc?rev=986605&view=rev> /
> /> Log: /
> /> Extend cache API with a function that effectively allows partial de- /
> /> serialization as an alternative to the mandatory full
> de-serialization /
> /> in svn_cache__get. This can be used to read a single element from /
> /> a cached container, for instance. /
> //[..]
>
> /> +svn_error_t* /
> /> +membuffer_cache_get_partial(svn_membuffer_t *cache, /
> /> + const void *key, /
> /> + apr_size_t key_len, /
> /> + void **item, /
> /> + svn_cache__partial_getter_func_t
> deserializer, /
> /> + void *baton, /
> /> + apr_pool_t *pool) /
> /> +{ /
>
> This function should probably be static? Results in a gcc warning now.
Fixed in r990759. But I kind of begin to wonder what gcc
configuration you use to get all these extra warnings?

-- Stefan^2.
Received on 2010-08-30 12:44:03 CEST

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