This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "New approach to dependency solving".
The branch, SuSE-Code-11-Branch has been updated
via dc8da0f567fdd46aaa7ebfe71ce7b14dafdde6b8 (commit)
from 067183a7da47dfc4e76906f4cdb8a808de5da2d8 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit dc8da0f567fdd46aaa7ebfe71ce7b14dafdde6b8
Author: Michael Schroeder
Date: Thu Jan 15 16:37:52 2009 +0100
- do not report incorrect update rule violations
-----------------------------------------------------------------------
Summary of changes and diff:
src/solver.c | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/src/solver.c b/src/solver.c
index 39e7884..472f985 100644
--- a/src/solver.c
+++ b/src/solver.c
@@ -3520,6 +3520,15 @@ problems_to_solutions(Solver *solv, Queue *job)
/* update rule, find replacement package */
Id p, *dp, rp = 0;
Rule *rr;
+
+ /* check if this is a false positive, i.e. the update rule is fulfilled */
+ rr = solv->rules + why;
+ FOR_RULELITERALS(p, dp, rr)
+ if (p > 0 && solv->decisionmap[p] > 0)
+ break;
+ if (p)
+ continue; /* false alarm */
+
p = solv->installed->start + (why - solv->updaterules);
rr = solv->rules + solv->featurerules + (why - solv->updaterules);
if (!rr->p)
hooks/post-receive
--
New approach to dependency solving
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org
For additional commands, e-mail: zypp-commit+help@opensuse.org