From owner-freebsd-arch Wed Dec 13 15:20:51 2000 From owner-freebsd-arch@FreeBSD.ORG Wed Dec 13 15:20:49 2000 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from relay.nuxi.com (nuxi.cs.ucdavis.edu [169.237.7.38]) by hub.freebsd.org (Postfix) with ESMTP id 1A9F837B400 for ; Wed, 13 Dec 2000 15:20:49 -0800 (PST) Received: from dragon.nuxi.com (Ipittythefoolthattrustsident@trang.nuxi.com [209.152.133.57]) by relay.nuxi.com (8.9.3/8.9.3) with ESMTP id PAA73032 for ; Wed, 13 Dec 2000 15:20:48 -0800 (PST) (envelope-from obrien@NUXI.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.11.1/8.11.1) id eBDNKla84314 for arch@FreeBSD.ORG; Wed, 13 Dec 2000 15:20:47 -0800 (PST) (envelope-from obrien) Date: Wed, 13 Dec 2000 15:20:47 -0800 From: "David O'Brien" To: arch@FreeBSD.ORG Subject: Re: objections to sbuf? Message-ID: <20001213152046.B84135@dragon.nuxi.com> Reply-To: arch@FreeBSD.ORG References: <35886.976734714@critter> <200012131913.eBDJDgK85146@earth.backplane.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200012131913.eBDJDgK85146@earth.backplane.com>; from dillon@earth.backplane.com on Wed, Dec 13, 2000 at 11:13:42AM -0800 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: obrien@NUXI.com Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Dec 13, 2000 at 11:13:42AM -0800, Matt Dillon wrote: > :>:a second" is subject to some debate... > :>:A good API saves many programming and debugging hours. > :> > :> 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? > > -Matt I agree 100%. If we aren't going to whole-sale convert to it then all we are doing is bloating the kernel (remember, it still has to fit on a floppy). To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message