summaryrefslogtreecommitdiff
path: root/rpmdb
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2002-03-13 15:06:07 +0000
committerjbj <devnull@localhost>2002-03-13 15:06:07 +0000
commit976cf8dec79b51102ed51cb72681bbac0abf3f5d (patch)
tree7b9fd30d31c5a9884ad793d1a3290a27d82f8c3a /rpmdb
parent2c45013b703f6f976bc8a64a38fcae56f0ffb156 (diff)
downloadlibrpm-tizen-976cf8dec79b51102ed51cb72681bbac0abf3f5d.tar.gz
librpm-tizen-976cf8dec79b51102ed51cb72681bbac0abf3f5d.tar.bz2
librpm-tizen-976cf8dec79b51102ed51cb72681bbac0abf3f5d.zip
Pass ts and args to rpmInstall() and rpmErase().
CVS patchset: 5355 CVS date: 2002/03/13 15:06:07
Diffstat (limited to 'rpmdb')
-rw-r--r--rpmdb/legacy.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/rpmdb/legacy.c b/rpmdb/legacy.c
index 48b128be2..6df200de8 100644
--- a/rpmdb/legacy.c
+++ b/rpmdb/legacy.c
@@ -36,7 +36,8 @@ int domd5(const char * fn, unsigned char * digest, int asAscii)
xx = close(fdno);
return 1;
}
- (void) madvise(mapped, st->st_size, MADV_SEQUENTIAL);
+
+ xx = madvise(mapped, st->st_size, MADV_SEQUENTIAL);
ctx = rpmDigestInit(PGPHASHALGO_MD5, RPMDIGEST_NONE);
xx = rpmDigestUpdate(ctx, mapped, st->st_size);