From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 14883 invoked from network); 20 Sep 2020 20:58:24 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 20 Sep 2020 20:58:24 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id 208BC9CE6E; Mon, 21 Sep 2020 06:58:21 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 5310D9CB6B; Mon, 21 Sep 2020 06:58:09 +1000 (AEST) Received: by minnie.tuhs.org (Postfix, from userid 112) id 8B6609CB6B; Mon, 21 Sep 2020 06:58:07 +1000 (AEST) Received: from mail.cs.dartmouth.edu (mail.cs.dartmouth.edu [129.170.212.100]) by minnie.tuhs.org (Postfix) with ESMTPS id 25F139C772 for ; Mon, 21 Sep 2020 06:58:05 +1000 (AEST) Received: from tahoe.cs.dartmouth.edu (tahoe.cs.dartmouth.edu [129.170.212.20]) by mail.cs.dartmouth.edu (8.15.2/8.15.2) with ESMTPS id 08KKvxL41586675 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Sun, 20 Sep 2020 16:57:59 -0400 Received: from tahoe.cs.dartmouth.edu (localhost.localdomain [127.0.0.1]) by tahoe.cs.dartmouth.edu (8.15.2/8.14.3) with ESMTP id 08KKvxgE141368; Sun, 20 Sep 2020 16:57:59 -0400 Received: (from doug@localhost) by tahoe.cs.dartmouth.edu (8.15.2/8.15.2/Submit) id 08KKvxAu141367; Sun, 20 Sep 2020 16:57:59 -0400 From: Doug McIlroy Message-Id: <202009202057.08KKvxAu141367@tahoe.cs.dartmouth.edu> Date: Sun, 20 Sep 2020 16:57:59 -0400 To: Will Senn , Steve Nickolas , Doug McIlroy References: <202009190151.08J1pYnb066792@tahoe.cs.dartmouth.edu> <202009201842.08KIgn2f022401@freefriends.org> <04211470-AD63-452A-A0BB-6A7A6FD85AAE@gmail.com> <202009202026.08KKQ2x6137303@tahoe.cs.dartmouth.edu> In-Reply-To: <202009202026.08KKQ2x6137303@tahoe.cs.dartmouth.edu> User-Agent: Heirloom mailx 12.5 7/5/10 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [TUHS] reviving a bit of WWB X-BeenThere: tuhs@minnie.tuhs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: The Unix Heritage Society mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: tuhs@tuhs.org, doug@cs.dartmouth.edu Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" >> (Of course, that assumes NULL is 0, but I don't think I've run into any >> architecture so braindead as to not have NULL=0.) > > It has nothing to do with machine architecture. The C standard > says 0 coerces to the null pointer. NULL, defined in , > is part of the library, not the language. To put it more strongly. this is not a legal C source file. char *s = NULL; But this is. char *s = 0; Doug