From 00f059e930f12ca7c66cf2ffbc6c4ae789912af7 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Sun, 27 Aug 2006 21:53:48 -0700 Subject: Eliminate global cache. Eliminate multi-arch cache code. With the removal of the in-directory cache files, and the addition of per-user cache directories, there is no longer any reason to preserve the giant global cache file. Eliminating of this unifies the cache structure and simplifies the overall caching strategies greatly. --- fc-cache/fc-cache.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'fc-cache') diff --git a/fc-cache/fc-cache.c b/fc-cache/fc-cache.c index 29974b2c..281f8359 100644 --- a/fc-cache/fc-cache.c +++ b/fc-cache/fc-cache.c @@ -227,8 +227,7 @@ scanDirs (FcStrList *list, FcConfig *config, char *program, FcBool force, FcBool ret++; continue; } - if (!force && FcDirCacheValid (dir, config) && - FcDirCacheHasCurrentArch (dir, config)) + if (!force && FcDirCacheValid (dir, config)) { if (verbose) printf ("skipping, %d fonts, %d dirs\n", -- cgit v1.2.3