- fix bug in SOLVER_UPDATE handling (that nobody uses)
authorMichael Schroeder <mls@suse.de>
Tue, 23 Jun 2009 10:49:18 +0000 (12:49 +0200)
committerMichael Schroeder <mls@suse.de>
Tue, 23 Jun 2009 10:49:18 +0000 (12:49 +0200)
src/solver.c
src/solverdebug.c

index dc1b22949bc101fd948d3ba3e4a67cff57a02310..41d6f6dcd18c10fb7e822ba1e385e30c6197915d 100644 (file)
@@ -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:
index 1970f7573fcb0fd09416cfc610f9153cfc495fed..6d5af97997079218a2c3c77b946b3d4f46148cdd 100644 (file)
@@ -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];