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



The following reply was made to PR lib/54050; it has been noted by GNATS.

From: Joerg Sonnenberger <joerg%bec.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: lib-bug-people%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
	netbsd-bugs%netbsd.org@localhost
Subject: Re: lib/54050: malloc_usable_size() is provided on recent
 NetBSD-current, however malloc.h has no prototype
Date: Sat, 9 Mar 2019 19:52:02 +0100

 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