Mailinglist Archive: zypp-commit (266 mails)

< Previous Next >
[zypp-commit] r11629 - /trunk/sat-solver/src/repodata.c
  • From: mlandres@xxxxxxxxxxxxxxxx
  • Date: Fri, 07 Nov 2008 16:33:52 -0000
  • Message-id: <20081107163352.EE7D4345AB@xxxxxxxxxxxxxxxx>
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@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages