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

Re: svn commit: r1327716 - /subversion/trunk/subversion/libsvn_subr/checksum.c

From: Greg Stein <gstein_at_gmail.com>
Date: Wed, 18 Apr 2012 19:35:09 -0400

On Wed, Apr 18, 2012 at 18:55, <blair_at_apache.org> wrote:
>...
> +++ subversion/trunk/subversion/libsvn_subr/checksum.c Wed Apr 18 22:55:01 2012
>...
> +  checksum = checksum_create(kind, digest_size, pool);
> +  memcpy((unsigned char *)checksum->digest, digest, digest_size);
> +  return checksum;

I've seen quite a bit of this three-line section. Could you have
another utility named checksum_create_with(kind, digest_size, digest,
pool) ?

Cheers,
-g
Received on 2012-04-19 01:41:30 CEST

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.