From owner-freebsd-arch Thu Jan 11 1:23:23 2001 Delivered-To: freebsd-arch@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 2E2F037B401 for ; Thu, 11 Jan 2001 01:23:06 -0800 (PST) Received: (from des@localhost) by flood.ping.uio.no (8.9.3/8.9.3) id KAA03791; Thu, 11 Jan 2001 10:23:01 +0100 (CET) (envelope-from des@ofug.org) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: "Justin T. Gibbs" Cc: freebsd-arch@FreeBSD.ORG Subject: Re: Proposed chage to sbuf semantics. References: <200101110436.f0B4a5T00319@caspian.scsiguy.com> From: Dag-Erling Smorgrav Date: 11 Jan 2001 10:23:01 +0100 In-Reply-To: Dag-Erling Smorgrav's message of "11 Jan 2001 10:08:56 +0100" Message-ID: Lines: 12 User-Agent: Gnus/5.0802 (Gnus v5.8.2) Emacs/20.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dag-Erling Smorgrav writes: > If the user really wants to finalize an overflowed sbuf, they can > explicitly un-overflow it using setpos() (this is documented in the > NOTES section of the man page). Please to not change the behavior of > sbuf_finish(). Actually, there's one alternative: provide a flag (settable at sbuf_new() time) that tells sbuf_finish() to ignore overflows. DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message