diff options
author | jbj <devnull@localhost> | 2001-06-15 04:56:33 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2001-06-15 04:56:33 +0000 |
commit | f0d2abd2bcb74ab18645355ba45189abe77f38bf (patch) | |
tree | cfa580201935a10cf034c1a1655fda810205d74e /rpmio/digest.c | |
parent | 22b9de5f331285fef6b353b9441d121dcc639ea2 (diff) | |
download | librpm-tizen-f0d2abd2bcb74ab18645355ba45189abe77f38bf.tar.gz librpm-tizen-f0d2abd2bcb74ab18645355ba45189abe77f38bf.tar.bz2 librpm-tizen-f0d2abd2bcb74ab18645355ba45189abe77f38bf.zip |
- fix: db1 end-of-file not detected in legacy compatible way.
- fix: remove (harmless) chown error message from %post.
- add --target/--host to %configure, add example cross-build/config.site
scripts to /usr/lib/rpm <arjanv@redhat.com> (#44581).
- rpmdb iterator selectors permit default/strcmp/regex/glob matching.
- rpmdb iterator selectors permit negative matches.
CVS patchset: 4861
CVS date: 2001/06/15 04:56:33
Diffstat (limited to 'rpmio/digest.c')
-rw-r--r-- | rpmio/digest.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/rpmio/digest.c b/rpmio/digest.c index 60bb9ae84..a0c4d2969 100644 --- a/rpmio/digest.c +++ b/rpmio/digest.c @@ -465,9 +465,7 @@ 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@*/ + memmove(ctx->in, buf, ctx->datalen); if (ctx->doByteReverse) byteReverse(ctx->in, ctx->datalen); /*@-moduncon@*/ @@ -476,9 +474,7 @@ rpmDigestUpdate(DIGEST_CTX ctx, const void * data, size_t len) } /* Handle any remaining bytes of data. */ - /*@-mayaliasunique@*/ - memcpy(ctx->in, buf, len); - /*@=mayaliasunique@*/ + memmove(ctx->in, buf, len); } void |