From: Michael Schroeder Date: Thu, 31 May 2012 09:36:48 +0000 (+0200) Subject: - [valgrind] the userinstalled map only contains the installed packages. mea culpa... X-Git-Tag: BASE-SuSE-Code-12_2-Branch~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a86d4354ef75cd104f806b811a7ce9f3cec5104;p=thirdparty%2Flibsolv.git - [valgrind] the userinstalled map only contains the installed packages. mea culpa... --- diff --git a/src/rules.c b/src/rules.c index 4128903c..4d5d18f2 100644 --- a/src/rules.c +++ b/src/rules.c @@ -2448,7 +2448,7 @@ solver_createcleandepsmap(Solver *solv, Map *cleandepsmap, int unneeded) { Id buddy = pool->nscallback(pool, pool->nscallbackdata, NAMESPACE_PRODUCTBUDDY, p); if (buddy >= installed->start && buddy < installed->end && pool->solvables[buddy].repo == installed) - MAPSET(&userinstalled, buddy); + MAPSET(&userinstalled, buddy - installed->start); } } }