cache: when removing a pkg from the cache, unset the cached flag
parent
2f5a2c56d4
commit
f809e0978e
|
@ -167,6 +167,7 @@ pkgconf_cache_remove(pkgconf_client_t *client, pkgconf_pkg_t *pkg)
|
||||||
if (slot == NULL)
|
if (slot == NULL)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
pkg->flags &= ~PKGCONF_PKG_PROPF_CACHED;
|
||||||
*slot = NULL;
|
*slot = NULL;
|
||||||
|
|
||||||
qsort(client->cache_table, client->cache_count,
|
qsort(client->cache_table, client->cache_count,
|
||||||
|
|
Loading…
Reference in New Issue