[Fontconfig] Re: never try to validate cache files when using
fc-cache -f
Mike FABIAN
mfabian at suse.de
Fri Feb 3 02:13:20 PST 2006
Frederic Crozat <fcrozat at mandriva.com> さんは書きました:
> Le jeudi 02 février 2006 à 14:50 -0500, Patrick Lam a écrit :
>> Dirk Mueller wrote:
>> > On Thursday 02 February 2006 18:47, Patrick Lam wrote:
>> >
>> >
>> >> if (!force && FcDirCacheValid (dir) && FcDirCacheHasCurrentArch (dir))
>> >>
>> >>checks for cache validity and ought to ensure that -f will try to save
>> >>the cache files. Of course it might fail for some other reason.
>> >
>> > Hmm, indeed. but I want one switch to make sure no corrupt cache files stay
>> > around, as we have way too many problems with them.
>>
>> It would be great to have a --really-force flag, then. The man page
>> doesn't think about the issues involved in multiarch cache files.
By the way, another option to remove cache files in
/var/cache/fontconfig for directories which don't exist anymore would
be nice. Deleting such cache files always is probably not a good idea
because directories might be temporarily unavailable (e.g. nfs
mounts). But having an option to clean up old junk in
/var/cache/fontconfig without having to delete everything there would
be nice.
--
Mike FABIAN <mfabian at suse.de> http://www.suse.de/~mfabian
睡眠不足はいい仕事の敵だ。
More information about the Fontconfig
mailing list