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

Re: svn commit: r1498000 - /subversion/trunk/subversion/libsvn_ra_serf/inherited_props.c

From: Greg Stein <gstein_at_gmail.com>
Date: Sat, 29 Jun 2013 20:48:25 -0400

On Sat, Jun 29, 2013 at 5:01 PM, Greg Stein <gstein_at_gmail.com> wrote:
> Looks good. One small note:
>
> On Sat, Jun 29, 2013 at 3:51 PM, <rhuijben_at_apache.org> wrote:
>...
>> svn_hash_sets(iprops_ctx->curr_iprop->prop_hash,
>> apr_pstrdup(iprops_ctx->pool,
>> iprops_ctx->curr_propname->data),
>> - prop_val);
>> - /* Clear current propname and propval in the event there are
>> - multiple properties on the current path. */
>> + val_str);
>
> This assumes that the propname has been seen *before* the propval. The
> server sends it in the proper order, but a comment noting this would
> be good.
>
> Or even a test that curr_propname->len > 0 (otherwise, SVN_ERR_XML_MALFORMED).

Oop! My bad. It is further up in the diff context. Already there!

Thx,
-g
Received on 2013-06-30 02:48:57 CEST

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.