Re: [PATCH] partial fix for issue 571
From: Greg Stein <gstein_at_lyra.org>
Date: 2002-02-26 02:59:47 CET
[ most of this mentioned over IRC to Garrett, but he asked for it to be sent
On Mon, Feb 25, 2002 at 08:17:31PM -0500, Garrett Rooney wrote:
Those are awfully generic symbols. Usually, it is best to have some kind of
> +struct entry_status
Using a structure means more headache and allocations. Two alternatives:
1) use an integer casted to/from a void*. use bitfields in the integer.
Garrett said he didn't like (1), so option two uses things like this:
static const char singleton_item_added = 0;
>...
You have "binary" status here, too. If you don't print it, then the user is
>...
The "rule" here is:
* if you have the key's length already, then pass it
* if you don't have the length, then do not call strlen(), but use
So... in these cases, you have printable_name->len which can be passed.
>...
And child_d->path->len.
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:37:09 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.