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

Re: svn commit: r38963 - in trunk/subversion: include libsvn_wc

From: Greg Stein <gstein_at_gmail.com>
Date: Thu, 27 Aug 2009 19:33:26 -0400

On Thu, Aug 27, 2009 at 06:11, Hyrum K. Wright<hyrum_at_hyrumwright.org> wrote:
>...
> +++ trunk/subversion/include/svn_wc.h   Thu Aug 27 03:11:19 2009        (r38963)
>...
> +/** Similar to svn_wc_get_actual_target2(), but without the wc context, and
> + * with a absolute path.

"absolute" ?

>...
> +++ trunk/subversion/libsvn_wc/update_editor.c  Thu Aug 27 03:11:19 2009        (r38963)
>...
>     {
> -      *anchor = apr_pstrdup(pool, path);
> -      *target = "";
> +      *anchor = apr_pstrdup(result_pool, path);
> +      *target = apr_pstrdup(result_pool, "");

No need to dup this constant string.

Cheers,
-g

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2388063
Received on 2009-08-28 07:55:52 CEST

This is an archived mail posted to the Subversion Dev mailing list.