cache: when removing a package from the cache unset the cached flag

pull/239/head
Dylan Baker 2022-08-03 15:29:57 -07:00
parent ebe74fd253
commit a4de6235c2
1 changed files with 1 additions and 1 deletions

View File

@ -174,7 +174,7 @@ pkgconf_cache_remove(pkgconf_client_t *client, pkgconf_pkg_t *pkg)
if (slot == NULL) if (slot == NULL)
return; return;
(*slot)->flags &= ~PKGCONF_PKG_PROPF_CACHED;
*slot = NULL; *slot = NULL;
qsort(client->cache_table, client->cache_count, qsort(client->cache_table, client->cache_count,