Date: Mon, 29 Jul 1996 07:01:23 -0700 From: David Greenman <dg@root.com> To: Poul-Henning Kamp <phk@critter.tfs.com> Cc: Michael Hancock <michaelh@cet.co.jp>, hackers@FreeBSD.ORG Subject: Re: kernel assertions Message-ID: <199607291401.HAA26854@root.com> In-Reply-To: Your message of "Mon, 29 Jul 1996 15:43:16 %2B0200." <532.838647796@critter.tfs.com>
next in thread | previous in thread | raw e-mail | index | archive | help
>In our code:
> void
> foo(char *buf, int i
> {
> ASSERT(buf,("foo(%p, %d): buf is zero",buf,i));
> ...
> }
Blech. Macros are evil unless they actually do something real to improve
the code. Please, let's NOT adopt this practice.
-DG
David Greenman
Core-team/Principal Architect, The FreeBSD Project
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199607291401.HAA26854>
