Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Dec 2000 20:20:38 +0100
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        Matt Dillon <dillon@earth.backplane.com>
Cc:        Dag-Erling Smorgrav <des@ofug.org>, arch@FreeBSD.ORG
Subject:   Re: objections to sbuf? 
Message-ID:  <36004.976735238@critter>
In-Reply-To: Your message of "Wed, 13 Dec 2000 11:13:42 PST." <200012131913.eBDJDgK85146@earth.backplane.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <200012131913.eBDJDgK85146@earth.backplane.com>, Matt Dillon writes:

>:>    I grepped through and looked at every sprintf, strcpy, and strcat
>:>    in the kernel.  It is *NOT* a big deal.  It is certainly a hellofalot
>:>    less work to convert those to snprintf/strlcpy/etc then to convert 
>:>    them to sbuf.
>:
>:I don't recall anybody mentioning much less suggesting a wholesale
>:rewrite of every string operation in the kernel...
>:
>:--
>:Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
>
>    What's the point of creating a new interface in the kernel for
>    string handling if you don't intend to use it?

We *do* intend to use it, but we don't intend to rewrite the entire
kernel wholesale to use it.

--
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




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