summaryrefslogtreecommitdiff
path: root/lib/query.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2002-08-15 18:50:46 +0000
committerjbj <devnull@localhost>2002-08-15 18:50:46 +0000
commitc7881d801745b4c156a8aa2afc17b95f97481e34 (patch)
tree9c3b9d3cdbf8dd88bb6f9f6b2b4df87422d2f0da /lib/query.c
parent622e40678461d27bc8f8b45061bdc4d866a8bdf2 (diff)
downloadlibrpm-tizen-c7881d801745b4c156a8aa2afc17b95f97481e34.tar.gz
librpm-tizen-c7881d801745b4c156a8aa2afc17b95f97481e34.tar.bz2
librpm-tizen-c7881d801745b4c156a8aa2afc17b95f97481e34.zip
- 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<ldv@altlinux.org>). - fix: queryformat segfaults (Dmitry V. Levin<ldv@altlinux.org>). CVS patchset: 5639 CVS date: 2002/08/15 18:50:46
Diffstat (limited to 'lib/query.c')
-rw-r--r--lib/query.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/query.c b/lib/query.c
index e34c483f8..13799e805 100644
--- a/lib/query.c
+++ b/lib/query.c
@@ -589,7 +589,7 @@ restart:
if (rpmrc == RPMRC_OK) {
res = qva->qva_showPackage(qva, ts, h);
h = headerFree(h);
- rpmtsClean(ts);
+ rpmtsEmpty(ts);
continue;
}
@@ -944,7 +944,7 @@ int rpmcliQuery(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@*/
}