[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: Philip Martin <philip_at_codematters.co.uk>
Date: 2005-10-14 16:03:14 CEST

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;

> +}
> +

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Oct 14 16:07:16 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.