Skip site navigation (1)Skip section navigation (2)
Date:      11 Jan 2001 10:23:01 +0100
From:      Dag-Erling Smorgrav <des@ofug.org>
To:        "Justin T. Gibbs" <gibbs@scsiguy.com>
Cc:        freebsd-arch@FreeBSD.ORG
Subject:   Re: Proposed chage to sbuf semantics.
Message-ID:  <xzpg0iq30ju.fsf@flood.ping.uio.no>
In-Reply-To: Dag-Erling Smorgrav's message of "11 Jan 2001 10:08:56 %2B0100"
References:  <200101110436.f0B4a5T00319@caspian.scsiguy.com> <xzpk882317b.fsf@flood.ping.uio.no>

next in thread | previous in thread | raw e-mail | index | archive | help
Dag-Erling Smorgrav <des@ofug.org> 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




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