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

Re: svn commit: r16710 - in trunk/subversion: libsvn_subr

From: David James <james82_at_gmail.com>
Date: 2005-10-14 16:11:21 CEST

On 10/14/05, Philip Martin <philip@codematters.co.uk> wrote:
> djames@tigris.org writes:
>
> > Author: djames
> > Date: Fri Oct 14 08:12:52 2005
> > New Revision: 16710
>
> > +svn_prop_t *
> > +svn_prop_dup (const svn_prop_t *prop, apr_pool_t *pool)
> > +{
> > + svn_prop_t *new_prop = apr_pcalloc (pool, sizeof (*new_prop));
> > +
> > + if (prop->name)
> > + new_prop->name = apr_pstrdup (pool, prop->name);
> > + if (prop->value)
> > + new_prop->value = svn_string_dup (prop->value, pool);
> > +
>
> return new_prop;
Thanks Philip! Fixed in r16710.

I think I'm working too early in the morning ;)

Cheers,

David

--
David James -- http://www.cs.toronto.edu/~james
Received on Fri Oct 14 16:12:49 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.