summaryrefslogtreecommitdiff
path: root/lib/verify.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2008-12-19 14:34:45 +0200
committerPanu Matilainen <pmatilai@redhat.com>2008-12-19 14:34:45 +0200
commitcbcff3bd99f11ad2e8ff8e37ebd32993f25d9a2f (patch)
tree0a08b202c9fd86b931d317445951ed8d722d538b /lib/verify.c
parent87cf7db1edb922587dd26bb19abada7c4fba51c7 (diff)
downloadrpm-cbcff3bd99f11ad2e8ff8e37ebd32993f25d9a2f.tar.gz
rpm-cbcff3bd99f11ad2e8ff8e37ebd32993f25d9a2f.tar.bz2
rpm-cbcff3bd99f11ad2e8ff8e37ebd32993f25d9a2f.zip
Optionally reload ts element file info in rpmteOpen(), free in close
- avoids having to muck with te internals here and there...
Diffstat (limited to 'lib/verify.c')
-rw-r--r--lib/verify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/verify.c b/lib/verify.c
index 0b0a4c5f9..e96bfaa36 100644
--- a/lib/verify.c
+++ b/lib/verify.c
@@ -272,7 +272,7 @@ static int rpmVerifyScript(QVA_t qva, rpmts ts, Header h, FD_t scriptFd)
/* fake up a erasure transaction element */
rc = rpmtsAddEraseElement(ts, h, -1);
te = rpmtsElement(ts, 0);
- rpmteOpen(te, ts);
+ rpmteOpen(te, ts, 0);
if (scriptFd != NULL)
rpmtsSetScriptFd(ts, scriptFd);