diff options
Diffstat (limited to 'src/problems.c')
-rw-r--r-- | src/problems.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/problems.c b/src/problems.c index 7258c04..bb00aa6 100644 --- a/src/problems.c +++ b/src/problems.c @@ -160,6 +160,10 @@ enableweakrules(Solver *solv) continue; solver_enablerule(solv, r); } + /* make sure broken orphan rules stay disabled */ + if (solv->brokenorphanrules) + for (i = 0; i < solv->brokenorphanrules->count; i++) + solver_disablerule(solv, solv->rules + solv->brokenorphanrules->elements[i]); } |