From 1d8399a4ceee0fda1a40b82e27dcf655fb84e31e Mon Sep 17 00:00:00 2001 From: Michael Schroeder Date: Fri, 5 Jan 2018 15:28:45 +0100 Subject: [PATCH] Fix last commit when the involvedmap has a zero size --- src/rules.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rules.c b/src/rules.c index 49d689df..cf368e41 100644 --- a/src/rules.c +++ b/src/rules.c @@ -1926,11 +1926,11 @@ solver_createdupmaps(Solver *solv) * this before creating the update rules */ if (solv->dupinvolvedmap_all) solv->updatemap_all = 1; - if (installed && !solv->updatemap_all) + else if (installed && !solv->updatemap_all && solv->dupinvolvedmap.size) { FOR_REPO_SOLVABLES(installed, p, s) { - if (!solv->dupinvolvedmap_all && !MAPTST(&solv->dupinvolvedmap, p)) + if (!MAPTST(&solv->dupinvolvedmap, p)) continue; if (!solv->updatemap.size) map_grow(&solv->updatemap, installed->end - installed->start); -- 2.47.2