[Fontconfig] fc-cache.patch (was: Trouble forcing rescanning of font dirs)

Mike FABIAN mfabian at suse.de
Thu Feb 5 07:55:18 PST 2009

Behdad Esfahbod <behdad at behdad.org> さんは書きました:

> fc-cache.patch:  I don't think this one is needed anymore.

Right. Obsolete. Was commented out in our the fontconfig.spec file
and not applied anymore.

> My testing suggests so at least.  Then again, there is no
> documentation as to what it's trying to fix.

Originally this patch was from my colleague Takashi Iwai (CC:)
his comment was:

iwai> Hi,
iwai> the below patch fixes the segfault of fc-cache invoked with arguments
iwai> of non-existing directory name.

I remember that we submitted this upstream but it was rejected because
of the use of realpath(). The problem seems to have been solved in a
different way now in fontconfig, fc-cache doesn't crash on non-existing
directories. Therefore the patch was commented out in our .spec file.

Mike FABIAN   <mfabian at suse.de>   http://www.suse.de/~mfabian
I � Unicode

More information about the Fontconfig mailing list