Subject: Re: FreeBSD misses malloc.h
To: NetBSD Packages Technical Discussion List <tech-pkg@NetBSD.ORG>
From: Todd Vierling <tv@pobox.com>
List: tech-pkg
Date: 07/23/2003 13:43:34
On Wed, 23 Jul 2003, Greg A. Woods wrote:
: > ports/graphics/ImageMagick uses:
: > @${REINPLACE_CMD} -e 's|<malloc.h>|<stdlib.h>|g' ${WRKSRC}/ltdl/ltdl.c
: >
: > And many other FreeBSD ports do this too.
:
: You'd think they'd learn about the error of their ways when they end up
: having to hack around some silly thing like that..... :-)
You'd think that software authors would learn about the error of their ways
when things stop compiling, too. <malloc.h> has been obsolete for literally
*decades* at this point.
But then, things won't stop compiling on many operating systems unless you
do something standards-sane like defining _POSIX_SOURCE. 8-)
--
-- Todd Vierling <tv@pobox.com>