[Fontconfig] Re: Patch (was: fc-cache for x86 deletes caches for x86_64)

Mike FABIAN mfabian at suse.de
Fri Oct 27 05:40:27 PDT 2006


Keith Packard <keithp at keithp.com> さんは書きました:

> On Tue, 2006-10-24 at 17:36 +0200, Mike FABIAN wrote:
>
>> I tried to fix the problem with the attached patch which
>> seems to work for me.
>
> Yes, that's obviously the right plan; ignore files which aren't of the
> right form. Instead of using strstr, it would be better to just compare
> the end of the filename against the provided pattern.

Here is an improved patch which does this.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: do-not-clean-cache-files-for-different-architectures.patch
Type: text/x-patch
Size: 955 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/fontconfig/attachments/20061027/8546d44a/do-not-clean-cache-files-for-different-architectures.bin
-------------- next part --------------

-- 
Mike FABIAN   <mfabian at suse.de>   http://www.suse.de/~mfabian
睡眠不足はいい仕事の敵だ。


More information about the Fontconfig mailing list