Author: mlandres Date: Fri Nov 7 17:33:52 2008 New Revision: 11629 URL: http://svn.opensuse.org/viewcvs/zypp?rev=11629&view=rev Log: Quick workaround failing dataiterator_init(SOLVID_POS) in dataiterator_jump_to_solvid Modified: trunk/sat-solver/src/repodata.c Modified: trunk/sat-solver/src/repodata.c URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/src/repodata.c?rev=11629&r1=11628&r2=11629&view=diff ============================================================================== --- trunk/sat-solver/src/repodata.c (original) +++ trunk/sat-solver/src/repodata.c Fri Nov 7 17:33:52 2008 @@ -1343,7 +1343,7 @@ di->repoid = -1; di->data = di->repo->repodata + di->pool->pos.repodataid; di->repodataid = -1; - di->solvid = di->pool->pos.solvid; + di->solvid = solvid; di->state = di_enterrepo; di->flags |= SEARCH_THISSOLVID; return; @@ -1790,10 +1790,10 @@ evrid2vrstr(Pool *pool, Id evrid) { const char *p, *evr = id2str(pool, evrid); - if (!evr) + if (!evr) return evr; for (p = evr; *p >= '0' && *p <= '9'; p++) - ; + ; return p != evr && *p == ':' ? p + 1 : evr; } -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org