Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.5.0
On 2/7/19 11:43 PM, Peng Yu wrote:
> Hi,
>
> I don't understand the purpose of wdcache and wlcache. The "nc" field
> seems to be always 0 (as initialized in ocache_create(), and I don't
> find where it is increased. But `ocache_alloc()` just call xmalloc
> without using the cache since nc is 0. So wdcache and wlcache seem to
> be useless.
>
> Do I miss something?
Yes: ocache_free.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/