[Fontconfig] fc-cache sometimes fails

Mike FABIAN mfabian at suse.de
Thu Oct 13 20:09:52 EST 2005


fontconfig 2.4 branch, CVS snapshot from yesterday.
It's easy to reproduce like this:

    mfabian at magellan:/tmp/test$ ls
    mfabian at magellan:/tmp/test$

(no fonts here, just for testing. It doesn't matter whether
the directory contains fonts or not).

    mfabian at magellan:/tmp/test$ fc-cache -v .
    fc-cache: ".": caching, 0 fonts, 0 dirs
    fc-cache: succeeded
    mfabian at magellan:/tmp/test$ ls
    fonts.cache-2
    mfabian at magellan:/tmp/test$ touch .
    mfabian at magellan:/tmp/test$ fc-cache -v .
    fc-cache: ".": caching, 0 fonts, 0 dirs
    fc-cache: failed
    mfabian at magellan:/tmp/test$ echo $?
    1
    mfabian at magellan:/tmp/test$ 

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




More information about the Fontconfig mailing list