Re: svn commit: rev 849 - trunk/subversion/include trunk/subversion/libsvn_wc trunk/subversion/clients/cmdline
From: Greg Stein <gstein_at_lyra.org>
Date: 2002-01-12 11:04:00 CET
On Fri, Jan 11, 2002 at 02:18:11PM -0600, sussman@tigris.org wrote:
See my earlier email about introducing svn_keyword_set_t ...
>...
argh... please use APR_HASH_KEY_STRING here. A typo on the symbol in the
>...
If the keyword result strings were declared "const" (you don't truly expect
Using "const" is good. If some nimrod out there feels like changing the text
Each section of expand_keyword() is pretty simple, but it also begs to be
{ SVN_KEYWORD_AUTHOR_LONG,
>...
Shouldn't path and optional_value be "const" ? You aren't changing them in
>...
Should be apr_size_t
>...
Allocate the string once, and then use _ensure/memcpy to reuse the buffer.
Something like _set(), but counted would be nice and would avoid the need to
Cheers,
-- Greg Stein, http://www.lyra.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org For additional commands, e-mail: dev-help@subversion.tigris.orgReceived 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.