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

Re: svn commit: r14643 - in trunk/subversion: include libsvn_client libsvn_ra_dav libsvn_repos libsvn_wc

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2005-05-09 18:15:23 CEST

On Mon, 2005-05-09 at 01:07 -0500, kfogel@tigris.org wrote:
> + if (pool == NULL)
> + {
> + pool = svn_pool_create (NULL);
> + own_pool = TRUE;
> + }

A better way: create an internal function which accepts the buffer on
the command line. Make the old API allocate the buffer on the stack,
and the new one allocate it within the provided pool.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon May 9 18:47:58 2005

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.