Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: syssrc/sys/arch/pmax/pmax



Gregory McGarry wrote:

> Module Name:  syssrc
> Committed By: gmcgarry
> Date:         Fri Nov 30 06:40:52 UTC 2001
> 
> Modified Files:
> 
>       syssrc/sys/arch/pmax/pmax: machdep.c
> 
> Log Message:
> 
> Don't abuse preprocessor flags.

There's a number of places in the kernel where we assume that an
undefined flag == 0 in preprocessor expressions, some of them to test
if just one of the tokens is defined.  Is it actaully _abuse_ of the
preprocessor, or defined(!) behaviour?

Simon.
--
Simon Burge                            <simonb%wasabisystems.com@localhost>
NetBSD CDs, Support and Service:    http://www.wasabisystems.com/



Home | Main Index | Thread Index | Old Index