From c7881d801745b4c156a8aa2afc17b95f97481e34 Mon Sep 17 00:00:00 2001 From: jbj Date: Thu, 15 Aug 2002 18:50:46 +0000 Subject: - python: explicit method to set transFlags. - python: stuff package name into a string for repackage callbacks. - rollback: re-create empty transaction set for multiple rollbacks. - fix: %%basename typo (Dmitry V. Levin). - fix: queryformat segfaults (Dmitry V. Levin). CVS patchset: 5639 CVS date: 2002/08/15 18:50:46 --- lib/verify.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'lib/verify.c') diff --git a/lib/verify.c b/lib/verify.c index a58612564..fcb7f3a2b 100644 --- a/lib/verify.c +++ b/lib/verify.c @@ -372,7 +372,7 @@ static int verifyDependencies(/*@unused@*/ QVA_t qva, rpmts ts, int xx; int i; - rpmtsClean(ts); + rpmtsEmpty(ts); (void) rpmtsAddInstallElement(ts, h, NULL, 0, NULL); xx = rpmtsCheck(ts); @@ -419,7 +419,7 @@ static int verifyDependencies(/*@unused@*/ QVA_t qva, rpmts ts, ps = rpmpsFree(ps); - rpmtsClean(ts); + rpmtsEmpty(ts); return rc; } @@ -493,7 +493,7 @@ int rpmcliVerify(rpmts ts, QVA_t qva, const char ** argv) if (argv != NULL) while ((arg = *argv++) != NULL) { ec += rpmQueryVerify(qva, ts, arg); - rpmtsClean(ts); + rpmtsEmpty(ts); } /*@=boundsread@*/ } @@ -502,5 +502,7 @@ int rpmcliVerify(rpmts ts, QVA_t qva, const char ** argv) if (qva->qva_showPackage == showVerifyPackage) qva->qva_showPackage = NULL; + rpmtsEmpty(ts); + return ec; } -- cgit v1.2.3