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:
parent
c0cb2d86f9
commit
520c7266c8
|
@ -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);
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue