Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Dec 1995 11:47:47 -0700 (MST)
From:      Terry Lambert <terry@lambert.org>
To:        nate@rocky.sri.MT.net (Nate Williams)
Cc:        terry@lambert.org, nate@rocky.sri.MT.net, current@FreeBSD.org
Subject:   Re: Mis-feature in -current
Message-ID:  <199512191847.LAA15110@phaeton.artisoft.com>
In-Reply-To: <199512191845.LAA27145@rocky.sri.MT.net> from "Nate Williams" at Dec 19, 95 11:45:01 am

next in thread | previous in thread | raw e-mail | index | archive | help
> > > > 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.

I just meant that if it was only one or two places.

I went grepping: It's more than 60 places.  So never mind.  I agree with
adding it back into the lib for now.


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199512191847.LAA15110>