diff options
author | jbj <devnull@localhost> | 2000-04-27 00:10:28 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2000-04-27 00:10:28 +0000 |
commit | 24a64f27394fcf24e3e3f3d9d2f7b321f603a6a8 (patch) | |
tree | 521f462f0c4557f5a12af2d5af9a5b54163092ea /tools | |
parent | b24f837828e451a5ddf371038a2f2f0ed64580a2 (diff) | |
download | rpm-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.c | 3 |
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) { |