Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Aug 2004 17:44:18 +1200
From:      Jonathan Chen <jonc@chen.org.nz>
To:        Josh Paetzel <friar_josh@tcbug.org>
Cc:        questions@freebsd.org
Subject:   Re: Way OT programming question
Message-ID:  <20040802054418.GA376@grimoire.chen.org.nz>
In-Reply-To: <200408011829.58952.friar_josh@tcbug.org>
References:  <200408011829.58952.friar_josh@tcbug.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Aug 01, 2004 at 06:29:58PM -0500, Josh Paetzel wrote:

[...]
> #ifndef lint
> #if 0
> static char sccsid[] = "@(#)cat.c       8.2 (Berkeley) 4/27/95";
> #endif
> #endif /* not lint */
> #include <sys/cdefs.h>
> __FBSDID("$FreeBSD: src/bin/cat/cat.c,v 1.29 2003/04/30 17:40:28 
> obrien Exp $");
> 
> 1) Isn't 'if 0' always negative?

Yes. The "#if 0" is a common way of blocking out code that you
don't/can't want to remove.
-- 
Jonathan Chen <jonc@chen.org.nz>
----------------------------------------------------------------------
"If you wish your merit to be known, acknowledge that of other people"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040802054418.GA376>