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

Re: svn commit: r1339233 - in /subversion/trunk/subversion: libsvn_ra_neon/util.c libsvn_ra_serf/util.c tests/cmdline/prop_tests.py tests/cmdline/svnmucc_tests.py

From: Greg Stein <gstein_at_gmail.com>
Date: Wed, 16 May 2012 19:51:42 -0400

On Wed, May 16, 2012 at 11:37 AM, <philip_at_apache.org> wrote:
> Author: philip
> Date: Wed May 16 15:37:10 2012
> New Revision: 1339233
>
> URL: http://svn.apache.org/viewvc?rev=1339233&view=rev
> Log:
> Apache puts extra newlines in responses when built with AP_DEBUG
> so remove these from some error messages.  Fix svnmucc_tests 1
> over ra_serf.
>
> * subversion/libsvn_ra_serf/util.c
>  (end_207): Strip leading newline from responsedescription.
>
> * subversion/libsvn_ra_neon/util.c
>  (end_207_element): Strip leading newline from responsedescription.

I would suggest using svn_string_strip_whitespace() on the collected
cdata, before copying it into the result.

>...

Cheers,;
-g
Received on 2012-05-17 01:52:13 CEST

This is an archived mail posted to the Subversion Dev mailing list.