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:
5f328e2
)
- implement SEARCH_ALL_REPOS
author
Michael Schroeder
<mls@suse.de>
Wed, 15 Oct 2008 11:08:26 +0000
(11:08 +0000)
committer
Michael Schroeder
<mls@suse.de>
Wed, 15 Oct 2008 11:08:26 +0000
(11:08 +0000)
src/repodata.c
patch
|
blob
|
history
diff --git
a/src/repodata.c
b/src/repodata.c
index
20a41af
..
8cd13b1
100644
(file)
--- 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)