Mailinglist Archive: zypp-commit (171 mails)

< Previous Next >
[zypp-commit] <sat-solver> master : - fix bug in SOLVER_UPDATE handling (that nobody uses)
  • From: Michael Schroeder <mls@xxxxxxx>
  • Date: Tue, 23 Jun 2009 12:49:18 +0200
  • Message-id: <E1MJ3ZK-0005nz-0t@xxxxxxxxxxxxxxxx>
ref: refs/heads/master
commit f4dd623792f1cc9f3f856d2e739f9ac984ad4ef8
Author: Michael Schroeder <mls@xxxxxxx>
Date: Tue Jun 23 12:49:18 2009 +0200

- fix bug in SOLVER_UPDATE handling (that nobody uses)
---
src/solver.c | 2 +-
src/solverdebug.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/solver.c b/src/solver.c
index dc1b229..41d6f6d 100644
--- a/src/solver.c
+++ b/src/solver.c
@@ -2699,7 +2699,7 @@ solver_solve(Solver *solv, Queue *job)
continue;
if (!solv->updatemap.size)
map_grow(&solv->updatemap, pool->nsolvables);
- MAPSET(&solv->updatemap, p);
+ MAPSET(&solv->updatemap, p - solv->installed->start);
}
break;
case SOLVER_WEAKENDEPS:
diff --git a/src/solverdebug.c b/src/solverdebug.c
index 1970f75..6d5af97 100644
--- a/src/solverdebug.c
+++ b/src/solverdebug.c
@@ -401,7 +401,7 @@ void
solver_printtransaction(Solver *solv)
{
Transaction *trans = &solv->trans;
- Pool *pool = solv->pool;
+ Pool *pool = trans->pool;
Queue classes, pkgs;
int i, j, mode, l, linel;
char line[76];
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages