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

Re: svn commit: r1068249 - in /subversion/trunk/subversion: libsvn_fs_util/caching.c libsvn_subr/cache-membuffer.c

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Fri, 11 Feb 2011 17:17:17 +0200

stefan2_at_apache.org wrote on Tue, Feb 08, 2011 at 02:08:41 -0000:
> @@ -111,16 +113,49 @@ svn_fs__get_global_membuffer_cache(void)
> + /* don't terminate upon OOM but make pool return a NULL pointer
> + * instead so we can disable caching gracefully and continue
> + * operation without membuffer caches.
> + */

Log an error?

(e.g., fs->warning_func())

> @@ -802,21 +813,9 @@ svn_cache__membuffer_cache_create(svn_me
> + return svn_error_wrap_apr(APR_ENOMEM, _("OOM"));

Spell out "Out of memory"?
Received on 2011-02-11 16:22:28 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.