summaryrefslogtreecommitdiff
path: root/rpmio/digest.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2001-04-30 22:32:22 +0000
committerjbj <devnull@localhost>2001-04-30 22:32:22 +0000
commit0ecdbba93587408c670124e88d39451c681a77eb (patch)
tree0953710c0f014faf772aa6c1ab0fdc1933ffdd8c /rpmio/digest.c
parenta57a13b1350ff1a094c202c90391f8676f487582 (diff)
downloadlibrpm-tizen-0ecdbba93587408c670124e88d39451c681a77eb.tar.gz
librpm-tizen-0ecdbba93587408c670124e88d39451c681a77eb.tar.bz2
librpm-tizen-0ecdbba93587408c670124e88d39451c681a77eb.zip
- yet more boring lclint annotations and fiddles.
CVS patchset: 4732 CVS date: 2001/04/30 22:32:22
Diffstat (limited to 'rpmio/digest.c')
-rw-r--r--rpmio/digest.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/rpmio/digest.c b/rpmio/digest.c
index 8fa83dea4..461aebd47 100644
--- a/rpmio/digest.c
+++ b/rpmio/digest.c
@@ -453,14 +453,18 @@ rpmDigestUpdate(DIGEST_CTX ctx, const void * data, size_t len)
/* Process data in ctx->datalen chunks */
for (; len >= ctx->datalen; buf += ctx->datalen, len -= ctx->datalen) {
+ /*@-mayaliasunique@*/
memcpy(ctx->in, buf, ctx->datalen);
+ /*@=mayaliasunique@*/
if (ctx->doByteReverse)
byteReverse(ctx->in, ctx->datalen);
ctx->transform(ctx);
}
/* Handle any remaining bytes of data. */
+ /*@-mayaliasunique@*/
memcpy(ctx->in, buf, len);
+ /*@=mayaliasunique@*/
}
void