Mike FABIAN <mfabian@xxxxxxx> ????????: > But I found a similar problem which still occurs with the > current cvs snapshot of the fontconfig 2.4 branch: > > mfabian@magellan:/tmp$ mkdir test > mfabian@magellan:/tmp$ cd test > mfabian@magellan:/tmp/test$ fc-cache -v -f . > fc-cache: ".": caching, 0 fonts, 0 dirs > fc-cache: failed > mfabian@magellan:/tmp/test$ ls > fonts.cache-2 > mfabian@magellan:/tmp/test$ fc-cache -v -f . > fc-cache: ".": caching, 0 fonts, 0 dirs > fc-cache: succeeded > mfabian@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@xxxxxxx> http://www.suse.de/~mfabian ?????????????