From owner-cvs-all Sun Dec 12 14:33:20 1999 Delivered-To: cvs-all@freebsd.org Received: from awfulhak.org (dynamic-96.max4-du-ws.dialnetwork.pavilion.co.uk [212.74.9.224]) by hub.freebsd.org (Postfix) with ESMTP id BD98E14D23; Sun, 12 Dec 1999 14:33:14 -0800 (PST) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (root@hak.lan.Awfulhak.org [172.16.0.12]) by awfulhak.org (8.9.3/8.9.3) with ESMTP id VAA27500; Sun, 12 Dec 1999 21:42:22 GMT (envelope-from brian@lan.awfulhak.org) Received: from hak.lan.Awfulhak.org (brian@localhost.lan.Awfulhak.org [127.0.0.1]) by hak.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id VAA22157; Sun, 12 Dec 1999 21:43:38 GMT (envelope-from brian@hak.lan.Awfulhak.org) Message-Id: <199912122143.VAA22157@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.1.0 09/18/1999 To: Peter Wemm Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, brian@hak.lan.Awfulhak.org Subject: Re: cvs commit: src/sys/kern kern_linker.c src/sys/sys libkern.h src/sys/libkern index.c rindex.c In-Reply-To: Message from Peter Wemm of "Fri, 10 Dec 1999 09:38:42 PST." <199912101738.JAA27421@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 12 Dec 1999 21:43:38 +0000 From: Brian Somers Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk > peter 1999/12/10 09:38:42 PST > > Modified files: > sys/kern kern_linker.c > sys/sys libkern.h > sys/libkern index.c rindex.c > Log: > Zap c_index() and c_rindex(). Bruce prefers these to implicitly convert > a const into a non-const as they do in libc. I feel that defeating the > type checking like that quite evil, but that's the way it is. I think this is an evil inherited from the language... we really need a asconstaspassed char * strchr(const char *, char); etc. > Revision Changes Path > 1.40 +3 -3 src/sys/kern/kern_linker.c > 1.20 +3 -5 src/sys/sys/libkern.h > 1.6 +11 -19 src/sys/libkern/index.c > 1.7 +11 -22 src/sys/libkern/rindex.c > > > -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message