From c11aeba672e1cf8c5fdb69133a25ad5b3f96f23f Mon Sep 17 00:00:00 2001 From: Michael Schroeder Date: Fri, 21 Jun 2013 11:41:43 +0200 Subject: [PATCH] use correct flags element, SEARCH_COMPLETE_FILELIST is not a matcher flag Fixes iterating over the complete file list when there is mo matcher. --- src/repodata.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.47.2