summaryrefslogtreecommitdiff
path: root/lib/rpmfi.c
diff options
context:
space:
mode:
authorFlorian Festi <ffesti@redhat.com>2008-12-03 10:59:05 +0100
committerFlorian Festi <ffesti@redhat.com>2008-12-10 13:40:53 +0100
commit6e7b664e81b37be79d3dfdda4c7a72c4b7fdc760 (patch)
tree4af092b886d486ff9f1a3cede0556b3c937b0a04 /lib/rpmfi.c
parent395b5cffd5a64cdd2a4c2ade06a1a0b8b38d59eb (diff)
downloadrpm-6e7b664e81b37be79d3dfdda4c7a72c4b7fdc760.tar.gz
rpm-6e7b664e81b37be79d3dfdda4c7a72c4b7fdc760.tar.bz2
rpm-6e7b664e81b37be79d3dfdda4c7a72c4b7fdc760.zip
Kill rpmfiUpdateState and free all the rpmfis as soon as file conflict check is done
Diffstat (limited to 'lib/rpmfi.c')
-rw-r--r--lib/rpmfi.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/rpmfi.c b/lib/rpmfi.c
index 797e44db3..4efd16a66 100644
--- a/lib/rpmfi.c
+++ b/lib/rpmfi.c
@@ -1421,20 +1421,6 @@ fprintf(stderr, "*** fi %p\t%s[%d]\n", fi, Type, (fi ? fi->fc : 0));
return rpmfiLink(fi, (fi ? fi->Type : NULL));
}
-rpmfi rpmfiUpdateState(rpmfi fi, rpmts ts, rpmte p)
-{
- rpmte savep;
-
- fi = rpmfiFree(fi);
-
- savep = rpmtsSetRelocateElement(ts, p);
- fi = rpmfiNew(ts, p->h, RPMTAG_BASENAMES, RPMFI_KEEPHEADER);
- (void) rpmtsSetRelocateElement(ts, savep);
-
- p->fi = fi;
- return fi;
-}
-
void rpmfiSetFReplacedSize(rpmfi fi, rpm_loff_t newsize)
{
if (fi != NULL && fi->i >= 0 && fi->i < fi->fc) {