From: Michael Schroeder Date: Wed, 15 Oct 2008 11:08:26 +0000 (+0000) Subject: - implement SEARCH_ALL_REPOS X-Git-Tag: BASE-SuSE-Code-12_1-Branch~453 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f345ac11d782d39bbd15fbc2c095ef6cac6f1118;p=platform%2Fupstream%2Flibsolv.git - implement SEARCH_ALL_REPOS --- diff --git a/src/repodata.c b/src/repodata.c index 20a41af..8cd13b1 100644 --- a/src/repodata.c +++ b/src/repodata.c @@ -960,8 +960,10 @@ dataiterator_init(Dataiterator *di, Repo *repo, Id p, Id keyname, const char *ma if (p) flags |= SEARCH_THISSOLVID; di->flags = flags; - if (repo) + if (repo && !(flags & SEARCH_ALL_REPOS)) di->repoid = -1; + else + di->repo = di->pool->repos[0]; if (match) datamatcher_init(&di->matcher, di->pool, match, flags); if (p == SOLVID_POS)