tech-toolchain archive

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

Re: malloc.h (was: Re: status update - gcc 4.5 - some what working)



On Thu, Aug 11, 2011 at 06:26:59AM +1000, matthew green wrote:
 > > > Could we replace NetBSD's /usr/include/malloc.h with #error "Nobody
 > > > should ever include malloc.h", or just delete it?
 > > 
 > > I'm going to give the former a shot locally and see what happens...
 > 
 > what's the goal here?  i don't see much point in removing or breaking
 > <malloc.h>.

To crack the whip and force cleanup of old broken crap. There's no
reason to encourage the use of 20-year-deprecated interfaces.

I'm not saying necessarily that I'd commit it, but we certainly
shouldn't have anything in our tree that tries to use it, and packages
that trip on it should be fixed for portability reasons.

 > (not that this really matters for the argument at hand, but infact
 > because it exists today on netbsd but not macos, we found a host
 > to build break that was hidden!)

ENOPARSE?

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index