summaryrefslogtreecommitdiff
path: root/lib/rpmfi.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2002-08-04 16:55:55 +0000
committerjbj <devnull@localhost>2002-08-04 16:55:55 +0000
commitde0ff3b553d9f1b44c73b378637544ed6092df1e (patch)
tree35e9ff8f95719cfa257184adba816e1b65c3ea53 /lib/rpmfi.c
parent00375ca2bf6017f6fb652558776fb588e9df142f (diff)
downloadrpm-de0ff3b553d9f1b44c73b378637544ed6092df1e.tar.gz
rpm-de0ff3b553d9f1b44c73b378637544ed6092df1e.tar.bz2
rpm-de0ff3b553d9f1b44c73b378637544ed6092df1e.zip
- resurrect --rollback.
- renumber the callback types to be an orthogonal bit mask. - provide repackage progress callbacks, compression is slow. CVS patchset: 5597 CVS date: 2002/08/04 16:55:55
Diffstat (limited to 'lib/rpmfi.c')
-rw-r--r--lib/rpmfi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rpmfi.c b/lib/rpmfi.c
index f9e3a1daf..686ebcd84 100644
--- a/lib/rpmfi.c
+++ b/lib/rpmfi.c
@@ -1026,6 +1026,7 @@ rpmfi rpmfiNew(rpmts ts, rpmfi fi,
/* 0 means unknown */
xx = hge(h, RPMTAG_ARCHIVESIZE, NULL, (void **) &uip, NULL);
+ fi->archivePos = 0;
fi->archiveSize = (xx ? *uip : 0);
if (!hge(h, RPMTAG_BASENAMES, NULL, (void **) &fi->bnl, &fi->fc)) {