From f359f6b8e87dd663293d82d2e39b85c2ab067655 Mon Sep 17 00:00:00 2001 From: Michael Schroeder Date: Wed, 17 Dec 2008 11:23:44 +0000 Subject: [PATCH] - treat undecided packages as erase like libzypp does - fix erase debug message formatting --- src/solverdebug.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/solverdebug.c b/src/solverdebug.c index 6ebcb24..65ad974 100644 --- a/src/solverdebug.c +++ b/src/solverdebug.c @@ -273,11 +273,11 @@ solver_printdecisions(Solver *solv) { FOR_REPO_SOLVABLES(installed, p, s) { - if (solv->decisionmap[p] >= 0) + if (solv->decisionmap[p] > 0) continue; if (obsoletesmap[p]) continue; - POOL_DEBUG(SAT_DEBUG_RESULT, " erase %s\n", solvable2str(pool, s)); + POOL_DEBUG(SAT_DEBUG_RESULT, " erase %s\n", solvable2str(pool, s)); } } -- 2.7.4