From owner-freebsd-hackers Mon Jul 29 07:01:37 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA27185 for hackers-outgoing; Mon, 29 Jul 1996 07:01:37 -0700 (PDT) Received: from root.com (implode.root.com [198.145.90.17]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id HAA27179 for ; Mon, 29 Jul 1996 07:01:35 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by root.com (8.7.5/8.6.5) with SMTP id HAA26854; Mon, 29 Jul 1996 07:01:23 -0700 (PDT) Message-Id: <199607291401.HAA26854@root.com> X-Authentication-Warning: implode.root.com: Host localhost [127.0.0.1] didn't use HELO protocol To: Poul-Henning Kamp cc: Michael Hancock , hackers@FreeBSD.ORG Subject: Re: kernel assertions In-reply-to: Your message of "Mon, 29 Jul 1996 15:43:16 +0200." <532.838647796@critter.tfs.com> From: David Greenman Reply-To: dg@root.com Date: Mon, 29 Jul 1996 07:01:23 -0700 Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >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