Time to svn rm include/malloc.h

Steve Wills swills at FreeBSD.org
Wed Apr 1 01:38:30 UTC 2020


Hi,

On 3/31/20 5:48 PM, Warner Losh wrote:
> 
> 
> On Tue, Mar 31, 2020 at 3:03 PM Konstantin Belousov <kostikbel at gmail.com 
> <mailto:kostikbel at gmail.com>> wrote:
[snip]
>     So wouldn't it be more useful to remove warning and either include
>     stdlib.h or provide some parts of malloc-related defines, esp. the
>     non-portable bits from jemalloc ?
> 
> 

I don't really have a strong opinion either way.

> We've provided an error for the past 20 years. And a warning for the 
> last 24 years. Nobody is usefully using it today. In fact, it is getting 
> in the way, which is why we should just remove it entirely.
> 
>     We are not in position to teach third-party sw developers good manners.
> 
> 
> Autotools would do the right thing if we just remove this file. We're 
> being bad by having it and having it's inclusion be an error. It's not 
> required by any standard, and automation out there does the right thing 
> when it's not present,  so we should complete the process started in 
> 1994 by ache and just remove it.

But it does seem a bit late to change our minds.

Steve


More information about the freebsd-arch mailing list