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

Re: svn commit: rev 4882 - trunk/subversion/libsvn_fs

From: Karl Fogel <kfogel_at_newton.ch.collab.net>
Date: 2003-02-13 21:36:43 CET

"Sander Striker" <striker@apache.org> writes:
> Bah. Just cache the md5 digest in the baton in close_stream.
> txn_body_write_close_rep can use it directly from there. No hacky memcpy
> or apr_md5_ctx_dup needed.

There's some disagreement about what's more hacky here :-).

Ben's solution has the nice property that the baton's state remains
the same (and useable) no matter how many times the txn is retried.
In other words, the digest is really a tmp variable, and so is the
*finalized* context, so why cache them anywhere if we don't have to?

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Feb 13 22:08:37 2003

This is an archived mail posted to the Subversion Dev mailing list.