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

Re: svn commit: rev 5768 - in trunk/subversion: libsvn_ra_dav mod_dav_svn tests/clients/cmdline

From: Greg Stein <gstein_at_lyra.org>
Date: 2003-04-30 00:30:12 CEST

On Tue, Apr 29, 2003 at 04:56:21PM -0500, sussman@tigris.org wrote:
>...
> +++ trunk/subversion/mod_dav_svn/update.c Tue Apr 29 16:56:17 2003
>...
> + /* split up the 1st public URL. */
> + serr = dav_svn_simple_parse_uri(&this_info, resource,
> + child->first_cdata.first->text,
> + resource->pool);
> + if (serr != NULL)
> + {
> + return dav_svn_convert_err(serr, HTTP_INTERNAL_SERVER_ERROR,
> + "Could not parse src-path URL.");
> + }
> + src_path = apr_pstrdup(resource->pool, this_info.repos_path);

That dup seems unnecessary. Didn't you just parse it into resource->pool to
begin with?

Looks great, otherwise! I assume this fixes the issue. Do we want to leave
that open to remember to clean up the code?

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Apr 30 00:29:34 2003

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.