From owner-freebsd-questions@FreeBSD.ORG Mon Aug 2 05:44:20 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5D39216A4CE for ; Mon, 2 Aug 2004 05:44:20 +0000 (GMT) Received: from chen.org.nz (chen.org.nz [210.54.19.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2361543D48 for ; Mon, 2 Aug 2004 05:44:20 +0000 (GMT) (envelope-from jonc@chen.org.nz) Received: by chen.org.nz (Postfix, from userid 1000) id 7C8F013631; Mon, 2 Aug 2004 17:44:18 +1200 (NZST) Date: Mon, 2 Aug 2004 17:44:18 +1200 From: Jonathan Chen To: Josh Paetzel Message-ID: <20040802054418.GA376@grimoire.chen.org.nz> References: <200408011829.58952.friar_josh@tcbug.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200408011829.58952.friar_josh@tcbug.org> User-Agent: Mutt/1.4.2.1i cc: questions@freebsd.org Subject: Re: Way OT programming question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Aug 2004 05:44:20 -0000 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 > __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 ---------------------------------------------------------------------- "If you wish your merit to be known, acknowledge that of other people"