From: Michael Schroeder Date: Fri, 9 Mar 2012 12:53:42 +0000 (+0100) Subject: - fix a case of solutionelement duplication X-Git-Tag: BASE-SuSE-Code-12_2-Branch~106 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1902a8108c76e54faf6a8255aa49e7d018c01dd1;p=platform%2Fupstream%2Flibsolv.git - fix a case of solutionelement duplication --- diff --git a/src/problems.c b/src/problems.c index 33bb099..5a2ae60 100644 --- a/src/problems.c +++ b/src/problems.c @@ -293,7 +293,7 @@ refine_suggestion(Solver *solv, Id *problem, Id sug, Queue *refined, int essenti { /* just one suggestion, add it to refined list */ v = disabled.elements[disabledcnt]; - if (!nfeature) + if (!nfeature && v != sug) queue_push(refined, v); /* do not record feature rules */ solver_disableproblem(solv, v); if (v >= solv->updaterules && v < solv->updaterules_end)