Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Dec 1998 12:36:42 +0100
From:      Eivind Eklund <eivind@yes.no>
To:        Matthew Dillon <dillon@apollo.backplane.com>, Mike Smith <mike@smith.net.au>
Cc:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/sys/i386/isa labpc.c
Message-ID:  <19981215123642.C46780@follo.net>
In-Reply-To: <199812150439.UAA51106@apollo.backplane.com>; from Matthew Dillon on Mon, Dec 14, 1998 at 08:39:40PM -0800
References:  <199812150420.UAA02573@dingo.cdrom.com> <199812150439.UAA51106@apollo.backplane.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Dec 14, 1998 at 08:39:40PM -0800, Matthew Dillon wrote:
>     You guys are being silly.  Short of rewriting the kernel entirely we
>     can definitely assume that NULL is bitwise 0. Not only that, but we
>     can make assumptions about the relationship between (void *) and 
>     (anyothertype *) as well.  There is nothing wrong with being pragmatic
>     if it means a hundred people will be actively developing for the code
>     instead of just two or three.

I am being pragmatic.  I relate to the only document I have :-)
I belive it will take some arguing to convince me that breaking ANSI
C except where necessary is a good thing, though - and for this
specific set of code it is not necessary.

Anyway; WRT NULL pointers the only thing I did was add a note to the
commit logs to allow later persual if somebody at some point need to
enforce this restriction; I think sending mail commenting about it at
all is giving it more attention than it deserve.  The other issues in
Mike's mail are more relevant (in that they are easier to find, less
natural to think, and pretty clearly has a large chance of blowing our
leg off instead of just creating a small bruise on the foot).

Eivind.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19981215123642.C46780>