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

Re: Errors in the global pool

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2002-10-24 05:21:14 CEST

Greg Hudson <ghudson@MIT.EDU> writes:

> * svn_error_create() and friends would no longer need to take a pool
> argument.

In other words, svn_error_create() would simply call
apr_pool_create(NULL)?

> * Functions would no longer have to take a pool argument simply
> because they might return errors. (Though, for functions in our
> API, we wouldn't want to remove the pool parameter unless we could
> be sure that no reasonable implementation of the function would
> want to allocate memory, not merely that the current
> implementation doesn't allocate memory.)
>
> This would be a traumatic change as far as the SWIG bindings and
> svncpp (not to mention our own code base), but it would be a dramatic
> simplification, and we'd certainly want to do it before 1.0 if we did
> it at all.

I like this, very clean indeed.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Oct 24 05:23:11 2002

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.