From owner-freebsd-hackers Sat Feb 15 07:00:05 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id HAA27311 for hackers-outgoing; Sat, 15 Feb 1997 07:00:05 -0800 (PST) Received: from spooky.rwwa.com (rwwa.com [198.115.177.3]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id GAA27260 for ; Sat, 15 Feb 1997 06:59:33 -0800 (PST) Received: from spooky.rwwa.com (localhost.rwwa.com [127.0.0.1]) by spooky.rwwa.com (8.7.5/8.7.3) with ESMTP id JAA26056 for ; Sat, 15 Feb 1997 09:58:31 -0500 (EST) Message-Id: <199702151458.JAA26056@spooky.rwwa.com> X-Mailer: exmh version 1.6.9 8/22/96 To: hackers@freebsd.org Subject: Re: NULL as ((void*)0) (was Re: strlen() question) In-reply-to: Your message of "Fri, 14 Feb 1997 17:36:53 +0100." <3.0.32.19970214173652.00c0b290@dimaga.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 15 Feb 1997 09:58:31 -0500 From: Robert Withrow Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk eivind@dimaga.com said: > I hereby propose changing the default declaration of NULL under > FreeBSD from #define NULL 0 to #define NULL ((void*)0) for better > type-safety and ease of transition to other architechtures (e.g. > Alpha). Well, once you understand ANSI you get over this compulsion to sprinkle your code with NULL, so I don't see the point. ----------------------------------------------------------------------------- Robert Withrow, Tel: +1 617 592 8935, Net: witr@rwwa.COM