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:
a70ae66
)
- forgot to store start and end of id block
author
Michael Schroeder
<mls@suse.de>
Fri, 14 Dec 2007 20:11:33 +0000
(20:11 +0000)
committer
Michael Schroeder
<mls@suse.de>
Fri, 14 Dec 2007 20:11:33 +0000
(20:11 +0000)
src/repo_solv.c
patch
|
blob
|
history
diff --git
a/src/repo_solv.c
b/src/repo_solv.c
index
8c690af
..
53fdca0
100644
(file)
--- a/
src/repo_solv.c
+++ b/
src/repo_solv.c
@@
-865,6
+865,10
@@
repo_add_solv(Repo *repo, FILE *fp)
/* read solvables */
s = pool_id2solvable(pool, repo_add_solvable_block(repo, numsolv));
+ /* store start and end of our id block */
+ data.start = s - pool->solvables;
+ data.end = data.start + numsolv;
+
if ((solvflags & SOLV_FLAG_VERTICAL) != 0)
{
Id *solvschema = xcalloc(numsolv, sizeof(Id));