summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2014-03-24 19:16:21 +0100
committerMichael Schroeder <mls@suse.de>2014-03-24 19:16:21 +0100
commite2331156dd25864d53862e7077de65ad08238e54 (patch)
tree7d270dd6c76a0bd42e9fc6739a2a54ef46254100 /src
parent1c1cd3cd70b42fa97022b5817f6f051e15e6b148 (diff)
downloadlibsolv-e2331156dd25864d53862e7077de65ad08238e54.tar.gz
libsolv-e2331156dd25864d53862e7077de65ad08238e54.tar.bz2
libsolv-e2331156dd25864d53862e7077de65ad08238e54.zip
deal correctly with rules that contain the system solvable
Diffstat (limited to 'src')
-rw-r--r--src/solver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/solver.c b/src/solver.c
index 538b786..3d348be 100644
--- a/src/solver.c
+++ b/src/solver.c
@@ -1133,7 +1133,7 @@ analyze_unsolvable(Solver *solv, Rule *cr, int disablerules)
{
v = solv->decisionq.elements[--idx];
vv = v > 0 ? v : -v;
- if (!MAPTST(&seen, vv))
+ if (!MAPTST(&seen, vv) || vv == SYSTEMSOLVABLE)
continue;
why = solv->decisionq_why.elements[idx];
assert(why > 0);