diff options
author | jbj <devnull@localhost> | 2001-05-14 20:12:10 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2001-05-14 20:12:10 +0000 |
commit | 3c563d21182b97271411e6b3209a07b6f78b94db (patch) | |
tree | f45cc7a4d00a6816221633467493482b6bd585ad /lib | |
parent | a9184b73ecb9bcb5dedb503529a0696cdb5b008a (diff) | |
download | rpm-3c563d21182b97271411e6b3209a07b6f78b94db.tar.gz rpm-3c563d21182b97271411e6b3209a07b6f78b94db.tar.bz2 rpm-3c563d21182b97271411e6b3209a07b6f78b94db.zip |
- upgrade to db-3.3.4.
CVS patchset: 4787
CVS date: 2001/05/14 20:12:10
Diffstat (limited to 'lib')
-rw-r--r-- | lib/misc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/misc.c b/lib/misc.c index ced0aa804..72dee9c52 100644 --- a/lib/misc.c +++ b/lib/misc.c @@ -834,7 +834,10 @@ void providePackageNVR(Header h) (void) hge(h, RPMTAG_PROVIDEFLAGS, NULL, (void **) &provideFlags, NULL); + if (provides && providesEVR && provideFlags) for (i = 0; i < providesCount; i++) { + if (!(provides[i] && providesEVR[i])) + continue; if (!(provideFlags[i] == RPMSENSE_EQUAL && !strcmp(name, provides[i]) && !strcmp(pEVR, providesEVR[i]))) continue; |