From owner-freebsd-current@FreeBSD.ORG Mon Mar 1 14:00:21 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 542B816A4D3 for ; Mon, 1 Mar 2004 14:00:21 -0800 (PST) Received: from storm.FreeBSD.org.uk (storm.FreeBSD.org.uk [194.242.157.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id C30EA43D41 for ; Mon, 1 Mar 2004 14:00:18 -0800 (PST) (envelope-from mark@grondar.org) Received: from storm.FreeBSD.org.uk (Ugrondar@localhost [127.0.0.1]) i21M0CjV021807; Mon, 1 Mar 2004 22:00:12 GMT (envelope-from mark@grondar.org) Received: (from Ugrondar@localhost)i21M0CKc021806; Mon, 1 Mar 2004 22:00:12 GMT (envelope-from mark@grondar.org) X-Authentication-Warning: storm.FreeBSD.org.uk: Ugrondar set sender to mark@grondar.org using -f Received: from grondar.org (localhost [127.0.0.1])i21LwS0w084961; Mon, 1 Mar 2004 21:58:28 GMT (envelope-from mark@grondar.org) Message-Id: <200403012158.i21LwS0w084961@grimreaper.grondar.org> To: Stefan Farfeleder From: Mark Murray In-Reply-To: Your message of "Mon, 01 Mar 2004 22:34:56 +0100." <20040301213454.GA959@wombat.fafoe.narf.at> Date: Mon, 01 Mar 2004 21:58:28 +0000 Sender: mark@grondar.org X-Spam-Score: 3 (***) MSGID_FROM_MTA_SHORT X-Scanned-By: MIMEDefang 2.39 cc: current@freebsd.org Subject: Re: NULL vs 0 vs 0L bikeshed time X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2004 22:00:21 -0000 Stefan Farfeleder writes: > On Sun, Feb 29, 2004 at 03:46:35PM +0000, Mark Murray wrote: > > > -#define NULL 0L > > +#define NULL (0L) > > What's the point of parenthesizing 0L? Its two lexical elements. I got into the habit of doing that when a macro replacement bit me some years ago. It is a very unimportant part of the patch. :-) M -- Mark Murray iumop ap!sdn w,I idlaH