summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2000-04-27 00:10:28 +0000
committerjbj <devnull@localhost>2000-04-27 00:10:28 +0000
commit24a64f27394fcf24e3e3f3d9d2f7b321f603a6a8 (patch)
tree521f462f0c4557f5a12af2d5af9a5b54163092ea /tools
parentb24f837828e451a5ddf371038a2f2f0ed64580a2 (diff)
downloadrpm-24a64f27394fcf24e3e3f3d9d2f7b321f603a6a8.tar.gz
rpm-24a64f27394fcf24e3e3f3d9d2f7b321f603a6a8.tar.bz2
rpm-24a64f27394fcf24e3e3f3d9d2f7b321f603a6a8.zip
- API: replace rpmdbUpdateRecord with rpmdbRemove/rpmdbAdd.
- API: replace rpmdbFindByLabel with RPMDBI_LABEL iteration. - API: replace rpmdbGetRecord with iterators. - API: replace findMatches with iterators. CVS patchset: 3704 CVS date: 2000/04/27 00:10:28
Diffstat (limited to 'tools')
-rw-r--r--tools/dumpdb.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/dumpdb.c b/tools/dumpdb.c
index 27b31dabc..55c843eda 100644
--- a/tools/dumpdb.c
+++ b/tools/dumpdb.c
@@ -27,8 +27,7 @@ int main(int argc, char ** argv)
rpmdbMatchIterator mi;
#define _RECNUM rpmdbGetIteratorOffset(mi)
- /* RPMDBI_PACKAGES */
- mi = rpmdbInitIterator(db, 0, NULL, 0);
+ mi = rpmdbInitIterator(db, RPMDBI_PACKAGES, NULL, 0);
while ((h = rpmdbNextIterator(mi)) != NULL) {