[Fontconfig] Re: fc-cache loops when cyclic symlinks in fontdirectories exist

Mike FABIAN mfabian at suse.de
Mon Oct 23 01:30:53 PDT 2006


Keith Packard <keithp at keithp.com> さんは書きました:

> On Mon, 2006-10-16 at 17:33 +0200, Mike FABIAN wrote:
>
>> > fc-cache loops when cyclic symlinks in fontdirectories exist
>
>> > mfabian at magellan:~$ ll /usr/share/fonts/ttt
>> > lrwxrwxrwx 1 root root 16 10? 11 16:20 /usr/share/fonts/ttt -> /usr/share/fonts/
>> > mfabian at magellan:~$ 
>
> Yeah, don't do that. We could refuse to traverse symlinks which pointed
> at a directory already scanned.

I think something should be done to avoid an endless loop in that case.

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


More information about the Fontconfig mailing list