Author: schubi2 Date: Tue Feb 5 11:08:32 2008 New Revision: 8466 URL: http://svn.opensuse.org/viewcvs/zypp?rev=8466&view=rev Log: removed selections Modified: trunk/sat-solver/testsuite/deptestomatic.c Modified: trunk/sat-solver/testsuite/deptestomatic.c URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/testsuite/deptestomatic.c?rev=8466&r1=8465&r2=8466&view=diff ============================================================================== --- trunk/sat-solver/testsuite/deptestomatic.c (original) +++ trunk/sat-solver/testsuite/deptestomatic.c Tue Feb 5 11:08:32 2008 @@ -63,7 +63,7 @@ * is not depending on some random solvable order */ na = id2str(pool, pool->solvables[a].name); nb = id2str(pool, pool->solvables[b].name); - /* bring selections and patterns to the front */ + /* bring patterns to the front */ if (!strncmp(na, "pattern:", 8)) { if (strncmp(nb, "pattern:", 8)) @@ -73,17 +73,7 @@ { if (strncmp(na, "pattern:", 8)) return 1; - } - if (!strncmp(na, "selection:", 10)) - { - if (strncmp(nb, "selection:", 10)) - return -1; - } - else if (!strncmp(nb, "selection:", 10)) - { - if (strncmp(na, "selection:", 10)) - return 1; - } + } return strcmp(na, nb); } return a - b; -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org