cache: when removing a pkg from the cache, unset the cached flag

Dylan Baker 2022-07-27 12:17:59 -07:00
parent 2f5a2c56d4
commit f809e0978e
1 changed files with 1 additions and 0 deletions

View File

@ -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,