rpmfi has no associated pool, the file set has

- should've been in previous commit really but since there's just
  one user... meh
This commit is contained in:
Panu Matilainen 2013-11-07 15:25:11 +02:00
parent c0cb2d86f9
commit 520c7266c8
3 changed files with 4 additions and 4 deletions

View File

@ -286,7 +286,7 @@ void rpmalAdd(rpmal al, rpmte p)
* NULL pool from NULL alp->provides in numerous cases?
*/
{
rpmstrPool fipool = rpmfiPool(alp->fi);
rpmstrPool fipool = rpmfilesPool(rpmfiFiles(alp->fi));
rpmstrPool dspool = rpmdsPool(alp->provides);
assert(fipool == NULL || fipool == al->pool);

View File

@ -1745,9 +1745,9 @@ int rpmfiConfigConflict(const rpmfi fi)
return rpmfiConfigConflictIndex(fi->files, fi ? fi->i : -1);
}
rpmstrPool rpmfiPool(rpmfi fi)
rpmstrPool rpmfilesPool(rpmfiles fi)
{
return (fi != NULL) ? fi->files->pool : NULL;
return (fi != NULL) ? fi->pool : NULL;
}
rpmfiles rpmfiFiles(rpmfi fi)

View File

@ -19,7 +19,7 @@ extern "C" {
* @return string pool handle (weak reference)
*/
RPM_GNUC_INTERNAL
rpmstrPool rpmfiPool(rpmfi fi);
rpmstrPool rpmfilesPool(rpmfiles fi);
/** \ingroup rpmfi
* Return current base name pool id from file info set.