[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 847 - trunk/subversion/tests/libsvn_subr

From: Greg Stein <gstein_at_lyra.org>
Date: 2002-01-11 20:53:50 CET

On Fri, Jan 11, 2002 at 12:55:08PM -0600, cmpilato@tigris.org wrote:
>...
> + /* ### todo: allowing '\r' to be in this list of possible random
> + eol_markers causes problems for the current testing framework
> + which expects a 1:1 ratio of input-line-count to output-line-count.
> + Problems occur when there are two consecutive line ending markers
> + where the first is '\r' and the second is '\n' -- our
> + translation routine reads that as a single '\r\n' which throws
> + off the linecount on the output side, and fouls up substitute_and_verify.
> + */
> + const char *eol_markers[] = { "\n", "\r\n" };

Couldn't you just insert "\r " ?

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 Sat Oct 21 14:36:56 2006

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.