Date: Sun, 12 Dec 1999 21:43:38 +0000 From: Brian Somers <brian@Awfulhak.org> To: Peter Wemm <peter@FreeBSD.org> 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 Message-ID: <199912122143.VAA22157@hak.lan.Awfulhak.org> In-Reply-To: Message from Peter Wemm <peter@FreeBSD.org> of "Fri, 10 Dec 1999 09:38:42 PST." <199912101738.JAA27421@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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 <brian@Awfulhak.org> <brian@FreeBSD.org> <http://www.Awfulhak.org> <brian@OpenBSD.org> Don't _EVER_ lose your sense of humour ! <brian@FreeBSD.org.uk> 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?199912122143.VAA22157>