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:
4e94138
)
- is searching for REPOENTRY POS, select the right repo and repodata
author
Michael Schroeder
<mls@suse.de>
Thu, 9 Oct 2008 14:21:15 +0000
(14:21 +0000)
committer
Michael Schroeder
<mls@suse.de>
Thu, 9 Oct 2008 14:21:15 +0000
(14:21 +0000)
in the iterator
src/repodata.c
patch
|
blob
|
history
diff --git
a/src/repodata.c
b/src/repodata.c
index
dfd7a51
..
da3cea1
100644
(file)
--- a/
src/repodata.c
+++ b/
src/repodata.c
@@
-964,6
+964,13
@@
dataiterator_init(Dataiterator *di, Repo *repo, Id p, Id keyname, const char *ma
di->repoid = -1;
if (match)
datamatcher_init(&di->matcher, di->pool, match, flags);
+ if (p == REPOENTRY_POS)
+ {
+ di->repo = di->pool->pos.repo;
+ di->data = di->repo->repodata + di->pool->pos.repodataid;
+ di->repoid = -1;
+ di->repodataid = -1;
+ }
di->state = di_enterrepo;
}