Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Dec 2000 20:11:54 +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:  <35886.976734714@critter>
In-Reply-To: Your message of "Wed, 13 Dec 2000 11:02:31 PST." <200012131902.eBDJ2Vx84987@earth.backplane.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <200012131902.eBDJ2Vx84987@earth.backplane.com>, Matt Dillon writes:
>:Considering mailing list archives content, I think the "... fix in
>:a second" is subject to some debate...
>:
>:A good API saves many programming and debugging hours.
>:
>:--
>:Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
>:phk@FreeBSD.ORG         | TCP/IP since RFC 956
>
>    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
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?35886.976734714>