[Fontconfig] Re: patch to fix endless loop in fc-cache

Patrick Lam plam at MIT.EDU
Mon Feb 6 15:16:42 PST 2006


Mike FABIAN wrote:
> by Takashi Iwai <tiwai at suse.de>.
> 
> fc-cache did loop endless if a subdirectory was a symlink
> pointing to a directory higher up, e.g.
> ln -s /usr/share/fonts /usr/share/fonts/ttt

I've committed this patch.  The other patch doesn't seem to be
necessary; fontconfig-using apps don't crash for me (whether or not
they're creating global caches) when there's a symlink cycle in the
directory structure.

pat


More information about the Fontconfig mailing list