Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Sep 2000 18:39:42 +0700 (ALMST)
From:      Boris Popov <bp@butya.kz>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        Doug Rabson <dfr@nlsystems.com>, John Baldwin <jhb@pike.osd.bsdi.com>, Doug Rabson <dfr@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/sys ktr.h
Message-ID:  <Pine.BSF.4.10.10009111836470.30757-100000@lion.butya.kz>
In-Reply-To: <Pine.BSF.4.21.0009112203560.1112-100000@besplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 11 Sep 2000, Bruce Evans wrote:

> > 	I'll replace it with KASSERT-like definition:
> > 
> > #define NULLFSDEBUG(args)	printf args
> > 
> > 	with appropriate changes to the rest of the code.
> 
> I had almost accepted it.  Is the only problem with the KASSERT-like
> definition that double parentheses must be used when it is invoked?
> This has the same problem as ITR* -- it messes up all invocations
> of the macros.

	I think double parentheses more readable in compare with three
lines of #ifdef/blah/#endif. In this case they are at the beginning and
the end of invocation, so code doesn't turn to a mess.

--
Boris Popov
http://www.butya.kz/~bp/



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?Pine.BSF.4.10.10009111836470.30757-100000>