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

Re: svn_initialize (was: libraries)

From: Karl Fogel <kfogel_at_newton.ch.collab.net>
Date: 2002-11-12 06:25:25 CET

Greg Stein <gstein@lyra.org> writes:
> I think it would be a mistake to have our libraries initialize APR. We
> *take* a pool. Thus, for an app to give us a pool, they must get it from
> APR. To get it from APR, they need to initialize APR.
>
> Blame APR docs, but don't add initialization to SVN. What happens to apps
> that also use APR? Gee.. like 'svn' ? You don't want multiple
> initializations (one from the app, and one from svn_initialize).
>
> Nah... we're a library and we take APR inputs. The caller is responsible for
> the initialization to give us that; not us.

Ahhhh, thanks for the guidance. I was feeling around for some
explanation like this but couldn't find it.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Nov 12 06:59:12 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.