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

Re: svn commit: r1182566 - /subversion/branches/tree-read-api/subversion/libsvn_client/tree.c

From: Hyrum K Wright <hyrum.wright_at_wandisco.com>
Date: Wed, 12 Oct 2011 15:16:40 -0500

On Wed, Oct 12, 2011 at 3:11 PM, <julianfoad_at_apache.org> wrote:
> Author: julianfoad
> Date: Wed Oct 12 20:11:28 2011
> New Revision: 1182566
>
> URL: http://svn.apache.org/viewvc?rev=1182566&view=rev
> Log:
> On the 'tree-read-api' branch:

I would very much appreciate a BRANCH-README on this branch.

Thanks,
-Hyrum

>
> * subversion/libsvn_client/tree.c
>  (wc_tree_get_dir): Allocate results in the result pool not the scratch pool.
>
> Found by: gstein
>
> Modified:
>    subversion/branches/tree-read-api/subversion/libsvn_client/tree.c
>
> Modified: subversion/branches/tree-read-api/subversion/libsvn_client/tree.c
> URL: http://svn.apache.org/viewvc/subversion/branches/tree-read-api/subversion/libsvn_client/tree.c?rev=1182566&r1=1182565&r2=1182566&view=diff
> ==============================================================================
> --- subversion/branches/tree-read-api/subversion/libsvn_client/tree.c (original)
> +++ subversion/branches/tree-read-api/subversion/libsvn_client/tree.c Wed Oct 12 20:11:28 2011
> @@ -332,7 +332,7 @@ wc_tree_get_dir(svn_client_tree_t *tree,
>       for (i = 0; i < children->nelts; i++)
>         {
>           const char *child_abspath = APR_ARRAY_IDX(children, i, const char *);
> -          const char *name = svn_dirent_basename(child_abspath, scratch_pool);
> +          const char *name = svn_dirent_basename(child_abspath, result_pool);
>
>           apr_hash_set(*dirents, name, APR_HASH_KEY_STRING, name);
>         }
>
>
>

-- 
uberSVN: Apache Subversion Made Easy
http://www.uberSVN.com/
Received on 2011-10-12 22:17:12 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.