Re: never try to validate cache files when using fc-cache -f

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Frederic Crozat <fcrozat@xxxxxxxxxxxx> さんは書きました:

> 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@xxxxxxx>   http://www.suse.de/~mfabian
睡眠不足はいい仕事の敵だ。

_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/fontconfig

[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux