Re: svn commit: r32524 - in trunk: . subversion/include subversion/libsvn_subr subversion/tests/libsvn_subr
From: Greg Stein <gstein_at_gmail.com>
Date: Mon, 18 Aug 2008 13:55:09 -0700
On Mon, Aug 18, 2008 at 9:47 AM, <hwright_at_tigris.org> wrote:
I think you could reduce this to one allocation:
svn_checksum_t *checksum = apr_palloc(pool, sizeof(*checksum) +
Put that into each block of the switch.
Also, shouldn't the digest be zero'd out? (if so, then use apr_pcalloc)
>...
Might be handy to have a macro that returns the digest size given the
#define whatever(kind) (kind == svn_checksum_md5 ? APR_MD5_DIGESTSIZE
>...
Why the change in name?
>...
Cheers,
---------------------------------------------------------------------
|
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.