From owner-freebsd-current Tue Dec 19 10:42:48 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA27627 for current-outgoing; Tue, 19 Dec 1995 10:42:48 -0800 (PST) Received: from rocky.sri.MT.net (rocky.sri.MT.net [204.182.243.10]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id KAA27622 for ; Tue, 19 Dec 1995 10:42:45 -0800 (PST) Received: (from nate@localhost) by rocky.sri.MT.net (8.6.12/8.6.12) id LAA27145; Tue, 19 Dec 1995 11:45:01 -0700 Date: Tue, 19 Dec 1995 11:45:01 -0700 From: Nate Williams Message-Id: <199512191845.LAA27145@rocky.sri.MT.net> To: Terry Lambert Cc: nate@rocky.sri.MT.net (Nate Williams), current@FreeBSD.org Subject: Re: Mis-feature in -current In-Reply-To: <199512191836.LAA15039@phaeton.artisoft.com> References: <199512191836.LAA27072@rocky.sri.MT.net> <199512191836.LAA15039@phaeton.artisoft.com> Sender: owner-current@FreeBSD.org Precedence: bulk [ strlen used in -current ] > > > How many times is strlen used, and could it maybe be recoded instead? > > > > Why would it need to be recoded? As it stands currently (and this will > > not change for some time), the code in libkern/strlen.c is completely > > adequate to do the job. > > I meant recoded to not use strlen. > > wchar_t springs to mind as a likely reason. I'm just trying to fix -current, not re-code the kernel. If it ain't broke, don't fix it. If it is broke, fix the broken-ness and not introduce new brokeness because it sounds like a good idea. Nate