diff options
author | jbj <devnull@localhost> | 1999-12-15 17:10:31 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 1999-12-15 17:10:31 +0000 |
commit | d6cb9b8fda11e0e7a24b1010fc5b0b164ee40bfd (patch) | |
tree | 86833c1707691cd00a78368005ff6493c52d7ca8 /lib | |
parent | 94a2aeab4880fdb11185ab124dbfe7c205f7e2d4 (diff) | |
download | rpm-d6cb9b8fda11e0e7a24b1010fc5b0b164ee40bfd.tar.gz rpm-d6cb9b8fda11e0e7a24b1010fc5b0b164ee40bfd.tar.bz2 rpm-d6cb9b8fda11e0e7a24b1010fc5b0b164ee40bfd.zip |
uninstall.c: rpmdbRemove used to have 2nd arg, tolerant = 0. This generates
an error message because of a db-1.85 hash access bug that cannot be
easily fixed. So, we turn off the error message.
CVS patchset: 3484
CVS date: 1999/12/15 17:10:31
Diffstat (limited to 'lib')
-rw-r--r-- | lib/uninstall.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/uninstall.c b/lib/uninstall.c index ce12eb93e..87c8230d5 100644 --- a/lib/uninstall.c +++ b/lib/uninstall.c @@ -218,9 +218,15 @@ int removeBinaryPackage(const char * prefix, rpmdb db, unsigned int offset, } } - rpmMessage(RPMMESS_DEBUG, _("removing database entry\n")); - if (!(flags & RPMTRANS_FLAG_TEST)) + if (!(flags & RPMTRANS_FLAG_TEST)) { + rpmMessage(RPMMESS_DEBUG, _("removing database entry\n")); + /* + * XXX rpmdbRemove used to have 2nd arg, tolerant = 0. This generates + * XXX an error message because of a db-1.85 hash access bug that + * XXX cannot be easily fixed. So, we turn off the error message. + */ rpmdbRemove(db, offset, 0); + } rc = 0; |