Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Dec 1995 11:36:44 -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:  <199512191836.LAA15039@phaeton.artisoft.com>
In-Reply-To: <199512191836.LAA27072@rocky.sri.MT.net> from "Nate Williams" at Dec 19, 95 11:36:28 am

next in thread | previous in thread | raw e-mail | index | archive | help
> > Actually (not that it would seem to matter), I'm anti-string-manipulation
> > in kernel code.  The only places this is violated currently is in the
> > path parsing code and the NFS argument code.
> 
> We all know about that, but I'm talking about the code that exists in
> -current today, not in FreeBSD 10.1.
> 
> > 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.


					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?199512191836.LAA15039>