freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Devel] FT_LruList_Remove_Selection doesn't update list->num_nodes


From: Werner LEMBERG
Subject: Re: [Devel] FT_LruList_Remove_Selection doesn't update list->num_nodes
Date: Thu, 12 Jun 2003 14:02:24 +0200 (CEST)

> I've attached a patch that fixes this and corrects a related
> assertion in FT_LruList_Lookup.

Applied, thanks.

> While debugging this, I found ftccache.c:759, the "if (... ||
> free_count > manager->num_nodes)", somewhat questionable.  Even if
> it isn't possible to free as many nodes as we want to, it seems more
> sensible to free as many as possible and try again before failing
> (or I am reading the code wrong?).

I leave the answer to David (this can take a while) -- my knowledge of
the cache code is too limited.


    Werner



reply via email to

[Prev in Thread] Current Thread [Next in Thread]