diff options
author | Michael Schroeder <mls@suse.de> | 2009-01-26 13:08:25 +0100 |
---|---|---|
committer | Michael Schroeder <mls@suse.de> | 2009-01-26 13:08:25 +0100 |
commit | 94fde0906307a9fe743e3fc4718c86bc545129a7 (patch) | |
tree | 88ff464a7ca01f27d6cf05a275626fd8433b4608 /src/solvable.c | |
parent | 756bb5ca2010781f4ac336672c844394f374f03f (diff) | |
download | libsolv-94fde0906307a9fe743e3fc4718c86bc545129a7.tar.gz libsolv-94fde0906307a9fe743e3fc4718c86bc545129a7.tar.bz2 libsolv-94fde0906307a9fe743e3fc4718c86bc545129a7.zip |
- add pool_whatprovides_ptr() helper
- use pool_whatprovides_ptr to fix bnc#468313
Diffstat (limited to 'src/solvable.c')
-rw-r--r-- | src/solvable.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/solvable.c b/src/solvable.c index 96e329b..722b82d 100644 --- a/src/solvable.c +++ b/src/solvable.c @@ -368,7 +368,7 @@ solvable_trivial_installable_map(Solvable *s, Map *installedmap, Map *conflictsm conp = s2->repo->idarraydata + s2->conflicts; while ((con = *conp++) != 0) { - dp = pool->whatprovidesdata + pool_whatprovides(pool, con); + dp = pool_whatprovides_ptr(pool, con); for (; *dp; dp++) if (*dp == p) return 0; @@ -462,7 +462,7 @@ pool_create_state_maps(Pool *pool, Queue *installed, Map *installedmap, Map *con conp = s->repo->idarraydata + s->conflicts; while ((con = *conp++) != 0) { - dp = pool->whatprovidesdata + pool_whatprovides(pool, con); + dp = pool_whatprovides_ptr(pool, con); for (; *dp; dp++) MAPSET(conflictsmap, *dp); } |