Date: Wed, 3 Apr 2002 22:08:58 -0801 From: Jos Backus <jos@catnook.com> To: cvs-all@FreeBSD.org Subject: Re: malloc.h--cheaper by the dozen? Message-ID: <20020404060920.GB46505@lizzy.catnook.com> In-Reply-To: <20020404002428.B93859@espresso.q9media.com> References: <20020331023459.G81971@espresso.q9media.com> <20020331033829.Q20524-100000@blues.jpj.net> <20020404002428.B93859@espresso.q9media.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Apr 04, 2002 at 12:24:28AM -0500, Mike Barcroft wrote: > I agree with removing the header completely. The additional > diagnostics probably don't assist many C programmers. > > /usr/include/malloc.h:3: #error "<malloc.h> has been replaced by <stdlib.h>" > > vs. > > test.c:1: malloc.h: No such file or directory Agreed; see my response to ports/36707. Rather than patching ports (net/rsync in this case) that detect <malloc.h> using configure, let us remove the file so the configure test will fail and <stdlib.h> be used instead. -- Jos Backus _/ _/_/_/ Santa Clara, CA _/ _/ _/ _/ _/_/_/ _/ _/ _/ _/ josb@cncdsl.com _/_/ _/_/_/ use Std::Disclaimer; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020404060920.GB46505>