NetBSD-Bugs archive

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

Re: lib/54050: malloc_usable_size() is provided on recent NetBSD-current, however malloc.h has no prototype



On Sat, Mar 09, 2019 at 03:40:00AM +0000, ryoon%NetBSD.org@localhost wrote:
> >Description:
> It seems that recent NetBSD-current with jemalloc provides
> malloc_usable_size(), however /usr/include/malloc.h has
> no prototype definition.
> 
> This inconsistency breaks a build of pkgsrc/www/firefox-65.0.2nb1.

I would actually very much prefer to go the reverse direction and do
*not* expose the various statistic intefaces at all. They are a cancer
that just tie libc down to a specific malloc implementation.
Applications have no reason for demanding this stuff.

Joerg


Home | Main Index | Thread Index | Old Index