projects
/
tools
/
librpm-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a03489f
)
don't pay attention to reqflags unless a reqversion is present <sigh>
author
ewt
<devnull@localhost>
Sun, 10 May 1998 18:37:35 +0000
(18:37 +0000)
committer
ewt
<devnull@localhost>
Sun, 10 May 1998 18:37:35 +0000
(18:37 +0000)
CVS patchset: 2115
CVS date: 1998/05/10 18:37:35
lib/depends.c
patch
|
blob
|
history
diff --git
a/lib/depends.c
b/lib/depends.c
index
911b4cf
..
115c5b7
100644
(file)
--- a/
lib/depends.c
+++ b/
lib/depends.c
@@
-721,7
+721,7
@@
int headerMatchesDepFlags(Header h, char * reqInfo, int reqFlags) {
headerGetEntry(h, RPMTAG_NAME, &type, (void *) &name, &count);
- if (!(reqFlags & RPMSENSE_SENSEMASK)) {
+ if (!(reqFlags & RPMSENSE_SENSEMASK)
|| !reqInfo || !strlen(reqInfo)
) {
return 1;
}