projects
/
platform
/
upstream
/
libsolv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
209e9cb
)
use correct flags element, SEARCH_COMPLETE_FILELIST is not a matcher flag
author
Michael Schroeder
<mls@suse.de>
Fri, 21 Jun 2013 09:41:43 +0000
(11:41 +0200)
committer
Michael Schroeder
<mls@suse.de>
Fri, 21 Jun 2013 09:41:43 +0000
(11:41 +0200)
Fixes iterating over the complete file list when there is mo matcher.
src/repodata.c
patch
|
blob
|
history
diff --git
a/src/repodata.c
b/src/repodata.c
index
54bd3dc
..
031147f
100644
(file)
--- a/
src/repodata.c
+++ b/
src/repodata.c
@@
-1388,7
+1388,7
@@
dataiterator_filelistcheck(Dataiterator *di)
int needcomplete = 0;
Repodata *data = di->data;
- if ((di->
matcher.
flags & SEARCH_COMPLETE_FILELIST) != 0)
+ if ((di->flags & SEARCH_COMPLETE_FILELIST) != 0)
if (!di->matcher.match
|| ((di->matcher.flags & (SEARCH_STRINGMASK|SEARCH_NOCASE)) != SEARCH_STRING
&& (di->matcher.flags & (SEARCH_STRINGMASK|SEARCH_NOCASE)) != SEARCH_GLOB)