[prev in list] [next in list] [prev in thread] [next in thread]
List: freebsd-hackers
Subject: Re: kernel assertions
From: David Greenman <dg () root ! com>
Date: 1996-07-29 14:01:23
[Download RAW message or body]
>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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic