From a4de6235c2fea91cdb0fdb28476aa0370bb982ab Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Wed, 3 Aug 2022 15:29:57 -0700 Subject: [PATCH] cache: when removing a package from the cache unset the cached flag --- libpkgconf/cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libpkgconf/cache.c b/libpkgconf/cache.c index 665769f..cd07e63 100644 --- a/libpkgconf/cache.c +++ b/libpkgconf/cache.c @@ -174,7 +174,7 @@ pkgconf_cache_remove(pkgconf_client_t *client, pkgconf_pkg_t *pkg) if (slot == NULL) return; - + (*slot)->flags &= ~PKGCONF_PKG_PROPF_CACHED; *slot = NULL; qsort(client->cache_table, client->cache_count,