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

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

 



Dirk Mueller wrote:
> Hi, 
> 
> 2006-02-02  Dirk Mueller  <dmueller@xxxxxxxx>
> 
> 	* fc-cache/fc-cache.c (scanDirs): Don't check for
> 	cache validity if force is in effect. 

This patch doesn't do what you're saying.  The effect of this patch is
to always blow away cache files when -f is given, and that's going to be
problematic on multi-arch installations.  The check a couple of lines above:

	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.

-f works for me.  Does it not work for you?  What should the semantics
of -f be?  Perhaps there should be -f and --really-force, which would
always remove cache files; that's certainly not what we want to give
when we make install.

pat
_______________________________________________
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