From: Keith Packard Date: Mon, 28 Aug 2006 00:04:01 +0000 (-0700) Subject: Write caches to first directory with permission. Valid cache in FcDirCacheOpen. X-Git-Tag: 2.3.96~50 X-Git-Url: https://git.wh0rd.org/?p=fontconfig.git;a=commitdiff_plain;h=d2f786849c0c4503360a5c09469505b05164c6d2 Write caches to first directory with permission. Valid cache in FcDirCacheOpen. Previous policy was to attempt to update the cache in place and bail if that didn't work. Now, search for the first writable directory and place the cache file there instead. Furthermore, on startup, search directory list for valid cache files instead of bailing if the first found cache file wasn't valid. --- diff --git a/fonts.conf.in b/fonts.conf.in index 035ee32..0629c80 100644 --- a/fonts.conf.in +++ b/fonts.conf.in @@ -30,7 +30,7 @@ @FC_CACHEDIR@ - ~/.fonts/fontconfig + ~/.fontconfig