[Fontconfig] Re: Patch: fix endless loop problem
mfabian at suse.de
Mon Jan 30 08:11:59 PST 2006
Patrick Lam <plam at MIT.EDU> さんは書きました:
> Mike FABIAN wrote:
>> The return value of FcCacheReadString () is zero because the end of
>> the cache file has been reached but "name_buf" still contains the
>> previous contents, therefore it never breaks (by the way, it might be
>> a good idea to check the return value of the read () a few lines later
>> as well).
> Looks good to me. I've committed this patch. Maybe it'll help with the
> weird .fonts.cache-2 cyclic behaviour too.
Unfortunaly not. I still could reproduce the cyclic behaviour today
even with my patch applied.
Mike FABIAN <mfabian at suse.de> http://www.suse.de/~mfabian
More information about the Fontconfig