You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Greg Stein <gs...@gmail.com> on 2009/08/27 23:33:26 UTC

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

On Thu, Aug 27, 2009 at 06:11, Hyrum K. Wright<hy...@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