From owner-cvs-all Sun Dec 3 5: 6:26 2000 From owner-cvs-all@FreeBSD.ORG Sun Dec 3 05:06:23 2000 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id E931237B400; Sun, 3 Dec 2000 05:06:19 -0800 (PST) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.8.7/8.8.7) with ESMTP id AAA23866; Mon, 4 Dec 2000 00:06:10 +1100 Date: Mon, 4 Dec 2000 00:06:51 +1100 (EST) From: Bruce Evans X-Sender: bde@besplex.bde.org To: Will Andrews Cc: Will Andrews , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/make arch.c compat.c cond.c dir.c hash.c job.c job.h list.h lst.h main.c make.c make.h parse.c sprite.h suff.c targ.c var.c src/usr.bin/make/lst.lib lstAppend.c lstConcat.c lstDatum.c lstDeQueue.c lstDestroy.c lstDupl.c ... In-Reply-To: <20001203071530.N559@puck.firepipe.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 3 Dec 2000, Will Andrews wrote: > On Sun, Dec 03, 2000 at 07:12:24PM +1100, Bruce Evans wrote: > > K&R support is one reason. There are also stylistic reasons. Programmers > > who believe in explicit casting of values returned by malloc(), like the > > author of make(1), may believe in explicit types for everything. > > Yeah, I'm sure it's good for stylistic reasons. It just serves to > confuse programmers used to using NULL. And actually, I've never seen > linked lists using anything besides NULL. But then again, I didn't look > at the queue(3) implementation. > > Where does it say this supports K&R? It uses __P(()). __P(()) is nonsense if K&R is not fully supported. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message