projects
/
platform
/
upstream
/
libsolv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6873aab
)
- cleandeps: fix userinstalled bitmap access
author
Michael Schroeder
<mls@suse.de>
Thu, 6 May 2010 15:14:40 +0000
(17:14 +0200)
committer
Michael Schroeder
<mls@suse.de>
Thu, 6 May 2010 15:14:40 +0000
(17:14 +0200)
src/rules.c
patch
|
blob
|
history
diff --git
a/src/rules.c
b/src/rules.c
index
331b344
..
30c6269
100644
(file)
--- a/
src/rules.c
+++ b/
src/rules.c
@@
-2074,14
+2074,14
@@
static void solver_createcleandepsmap(Solver *solv)
while (iq.count)
{
ip = queue_shift(&iq);
+ s = pool->solvables + ip;
if (!MAPTST(&im, ip))
continue;
if (!MAPTST(&installedm, ip))
continue;
- if (
MAPTST(&userinstalled, ip
))
+ if (
s->repo == installed && MAPTST(&userinstalled, ip - installed->start
))
continue;
MAPCLR(&im, ip);
- s = pool->solvables + ip;
#ifdef CLEANDEPSDEBUG
printf("hello %s\n", solvable2str(pool, s));
#endif