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

Re: CVS update: ADDED: subversion/tests/libsvn_repos repos_test.dsp REMOVED: subversion/tests/libsvn_repos tests_libsvn_repos_test.dsp

From: Greg Stein <gstein_at_lyra.org>
Date: 2001-08-13 22:37:36 CEST

On Mon, Aug 13, 2001 at 07:40:03PM -0000, cmpilato@tigris.org wrote:
>...
> --- fs-test.c 2001/08/09 16:50:48 1.98
> +++ fs-test.c 2001/08/13 19:40:03 1.99
> @@ -4018,8 +4018,8 @@
>
> /* Reassure iota that it will live for quite some time. */
> const char *iota_contents_6
> - = "Matthew 5:18 (Revised Standard Version) --
> -For truly, I say to you, till heaven and earth pass away, not an iota,
> + = "Matthew 5:18 (Revised Standard Version) --\n\
> +For truly, I say to you, till heaven and earth pass away, not an iota,\n\
> not a dot, will pass from the law until all is accomplished.";

For these cases, I like to use string concatenation. It means that you can
indent properly, and not worry about escaping the newline at the end:

    const char *iota_contents_6 =
       "Matthew ...\n"
       "For truly ...\n"
       "not a dot ....";

YSCMV :-)

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:36 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.