diff options
author | Keith Packard <keithp@neko.keithp.com> | 2006-08-27 21:53:48 -0700 |
---|---|---|
committer | Keith Packard <keithp@neko.keithp.com> | 2006-08-27 21:53:48 -0700 |
commit | 00f059e930f12ca7c66cf2ffbc6c4ae789912af7 (patch) | |
tree | 9b3c429ba61d3277f8030049b901b845c5ba189a /fc-cache | |
parent | cf65c0557e9fa1b86003d1ec8643f44f4344ebd2 (diff) |
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.
Diffstat (limited to 'fc-cache')
-rw-r--r-- | fc-cache/fc-cache.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fc-cache/fc-cache.c b/fc-cache/fc-cache.c index 29974b2..281f835 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", |