Author: mlschroe Date: Thu Jun 5 14:40:19 2008 New Revision: 10345 URL: http://svn.opensuse.org/viewcvs/zypp?rev=10345&view=rev Log: - do not reorder binary rules if they are not rpm rules [bnc#397456] Modified: trunk/sat-solver/src/solver.c Modified: trunk/sat-solver/src/solver.c URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/src/solver.c?rev=10345&r1=10344&r2=10345&view=diff ============================================================================== --- trunk/sat-solver/src/solver.c (original) +++ trunk/sat-solver/src/solver.c Thu Jun 5 14:40:19 2008 @@ -380,7 +380,7 @@ } #endif - if (n == 1 && p > d) + if (n == 1 && p > d && !solv->rpmrules_end) { /* smallest literal first so we can find dups */ n = p; p = d; d = n; /* p <-> d */ -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org