Author: kkaempf Date: Thu Feb 21 13:47:41 2008 New Revision: 8845 URL: http://svn.opensuse.org/viewcvs/zypp?rev=8845&view=rev Log: re-compute 's' pointer while iterating repo solvables in order to cope with re-allocs happening inside the loop body. Modified: trunk/sat-solver/src/repo.h Modified: trunk/sat-solver/src/repo.h URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/src/repo.h?rev=8845&r1=8844&r2=8845&view=diff ============================================================================== --- trunk/sat-solver/src/repo.h (original) +++ trunk/sat-solver/src/repo.h Thu Feb 21 13:47:41 2008 @@ -132,7 +132,7 @@ } #define FOR_REPO_SOLVABLES(r, p, s) \ - for (p = (r)->start, s = (r)->pool->solvables + p; p < (r)->end; p++, s++) \ + for (p = (r)->start, s = (r)->pool->solvables + p; p < (r)->end; p++, s = (r)->pool->solvables + p) \ if (s->repo == (r)) -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org