From: Michael Schroeder Date: Fri, 21 Jun 2013 09:41:43 +0000 (+0200) Subject: use correct flags element, SEARCH_COMPLETE_FILELIST is not a matcher flag X-Git-Tag: BASE-SuSE-Code-13_1-Branch~71 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c11aeba672e1cf8c5fdb69133a25ad5b3f96f23f;p=thirdparty%2Flibsolv.git use correct flags element, SEARCH_COMPLETE_FILELIST is not a matcher flag Fixes iterating over the complete file list when there is mo matcher. --- diff --git a/src/repodata.c b/src/repodata.c index 54bd3dc9..031147f1 100644 --- 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)