- forgot to store start and end of id block
authorMichael Schroeder <mls@suse.de>
Fri, 14 Dec 2007 20:11:33 +0000 (20:11 +0000)
committerMichael Schroeder <mls@suse.de>
Fri, 14 Dec 2007 20:11:33 +0000 (20:11 +0000)
src/repo_solv.c

index 8c690af..53fdca0 100644 (file)
@@ -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));