From: jbj Date: Wed, 15 Dec 1999 17:10:31 +0000 (+0000) Subject: uninstall.c: rpmdbRemove used to have 2nd arg, tolerant = 0. This generates X-Git-Tag: tznext/4.11.0.1.tizen20130304~8665 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d6cb9b8fda11e0e7a24b1010fc5b0b164ee40bfd;p=tools%2Flibrpm-tizen.git 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 --- diff --git a/lib/uninstall.c b/lib/uninstall.c index ce12eb9..87c8230 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;