[Fontconfig] Patch (was: fc-cache sometimes fails)

Mike FABIAN mfabian at suse.de
Sat Oct 15 00:24:15 EST 2005


Mike FABIAN <mfabian at suse.de> さんは書きました:

> But I found a similar problem which still occurs with the
> current cvs snapshot of the fontconfig 2.4 branch:
>
> mfabian at magellan:/tmp$ mkdir test
> mfabian at magellan:/tmp$ cd test
> mfabian at magellan:/tmp/test$ fc-cache -v -f .
> fc-cache: ".": caching, 0 fonts, 0 dirs
> fc-cache: failed
> mfabian at magellan:/tmp/test$ ls
> fonts.cache-2
> mfabian at magellan:/tmp/test$ fc-cache -v -f .
> fc-cache: ".": caching, 0 fonts, 0 dirs
> fc-cache: succeeded
> mfabian at magellan:/tmp/test$

The attached patch seems to fix it.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-return-code.patch
Type: text/x-patch
Size: 642 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/fontconfig/attachments/20051014/ca42d4b8/fix-return-code.bin
-------------- next part --------------

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


More information about the Fontconfig mailing list