From owner-freebsd-current@FreeBSD.ORG Wed Mar 3 12:40:27 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 DA6E616A4CE for ; Wed, 3 Mar 2004 12:40:27 -0800 (PST) Received: from storm.FreeBSD.org.uk (storm.FreeBSD.org.uk [194.242.157.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF62643D39 for ; Wed, 3 Mar 2004 12:40:24 -0800 (PST) (envelope-from mark@grondar.org) Received: from storm.FreeBSD.org.uk (Ugrondar@localhost [127.0.0.1]) i23KeHjV014867; Wed, 3 Mar 2004 20:40:17 GMT (envelope-from mark@grondar.org) Received: (from Ugrondar@localhost)i23KeHFw014866; Wed, 3 Mar 2004 20:40:17 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])i23Kd20w007779; Wed, 3 Mar 2004 20:39:02 GMT (envelope-from mark@grondar.org) From: Mark Murray Message-Id: <200403032039.i23Kd20w007779@grimreaper.grondar.org> To: Marc Olzheim In-Reply-To: Your message of "Wed, 03 Mar 2004 17:46:41 +0100." <20040303164641.GA94900@stack.nl> Date: Wed, 03 Mar 2004 20:39:02 +0000 Sender: mark@grondar.org X-Spam-Score: 4 (****) FROM_NO_LOWER,MSGID_FROM_MTA_SHORT X-Scanned-By: MIMEDefang 2.39 X-Mailman-Approved-At: Thu, 04 Mar 2004 04:48:27 -0800 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: Wed, 03 Mar 2004 20:40:28 -0000 Marc Olzheim writes: > On Tue, Mar 02, 2004 at 04:39:23PM +1100, Bruce Evans wrote: > > > The intent is to catch use of NULL where 0 or (0L) should be used. > > > It generates extra warnings (I promise to fix these). > > > > This may involve fixing hundreds if not thousands of ports. > > Mwah, I've been running with a similar patch for three years now and > haven't encountered any real problems... This is very good to know! What version of FreeBSD? What ports? You likely have a boatload of local patches. Care to share them? :-) M -- Mark Murray iumop ap!sdn w,I idlaH