From owner-cvs-all Sat Nov 20 20:26:54 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 1C8EF1574F; Sat, 20 Nov 1999 20:26:49 -0800 (PST) (envelope-from peter@FreeBSD.org) Received: (from peter@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id UAA60432; Sat, 20 Nov 1999 20:26:49 -0800 (PST) (envelope-from peter@FreeBSD.org) Message-Id: <199911210426.UAA60432@freefall.freebsd.org> From: Peter Wemm Date: Sat, 20 Nov 1999 20:26:48 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_linker.c src/sys/sys libkern.h src/sys/libkern index.c rindex.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk peter 1999/11/20 20:26:48 PST Modified files: sys/kern kern_linker.c sys/sys libkern.h sys/libkern index.c rindex.c Log: Tempt fate and stop index from converting a const char * into a char *. I've made a seperate version (c_index() etc) that use const/const, but I'm not sure it's worth it considering there is one file in the tree that uses index on const strings (kern_linker.c) and it's easily adjusted to scan the strings directly (and is perhaps more efficient that way). Revision Changes Path 1.39 +3 -3 src/sys/kern/kern_linker.c 1.18 +5 -3 src/sys/sys/libkern.h 1.5 +21 -9 src/sys/libkern/index.c 1.6 +23 -11 src/sys/libkern/rindex.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message