From owner-freebsd-hackers Sun Feb 16 07:45:20 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id HAA09172 for hackers-outgoing; Sun, 16 Feb 1997 07:45:20 -0800 (PST) Received: from nic.follonett.no (nic.follonett.no [194.198.43.10]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id HAA09167 for ; Sun, 16 Feb 1997 07:45:14 -0800 (PST) Received: (from uucp@localhost) by nic.follonett.no (8.8.5/8.8.3) with UUCP id QAA07213 for hackers@freebsd.org; Sun, 16 Feb 1997 16:43:42 +0100 (MET) Received: from oo7 (oo7.dimaga.com [192.0.0.65]) by dimaga.com (8.7.5/8.7.2) with SMTP id QAA08182 for ; Sun, 16 Feb 1997 16:41:57 +0100 (MET) Message-Id: <3.0.32.19970216164157.00a4e4f0@dimaga.com> X-Sender: eivind@dimaga.com X-Mailer: Windows Eudora Pro Version 3.0 (32) Date: Sun, 16 Feb 1997 16:41:58 +0100 To: hackers@freebsd.org (Robert Withrow) From: Eivind Eklund Subject: Re: NULL as ((void*)0) (was Re: strlen() question) Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk At 09:58 AM 2/15/97 -0500, Robert Withrow wrote: >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. I think we'll have a more fruitful debate if we keep the religious points out of this. If you want to have a religious debate, feel free to take it up on -chat. Eivind Eklund perhaps@yes.no http://maybe.yes.no/perhaps/ eivind@freebsd.org