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

Re: C++ thoughts for Berlin

From: Daniel Shahaf <danielsh_at_apache.org>
Date: Sun, 2 Jun 2013 02:17:39 +0000

On Sat, Jun 01, 2013 at 04:23:22PM -0700, Blair Zajac wrote:
> I agree it's not worth going to C++. Where I'm coming from is a
> frustration on the number of times I've seen pool lifetime bugs get fixed
> and it would be great to be in a language where one doesn't need to worry
> about that, or as much.

Maybe there's another way of discouraging those bugs?

Perhaps we should run the test suite under valgrind, with APR pool debugging
enabled, and clearing every scratch_pool parameter immediately after the call,
on a regular basis?

(I mean: wherever we have 'f(foo, pool, pool);', convert that to
's = svn_pool_create(pool); f(foo, s, pool); svn_pool_destroy(s);',
then run 'make svnserveautocheck THREADED=1' under valgrind.)
Received on 2013-06-02 04:17:47 CEST

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.