Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Feb 2012 17:07:29 +0000 (UTC)
From:      Jaakko Heinonen <jh@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org
Subject:   svn commit: r230871 - stable/7/share/man/man9
Message-ID:  <201202011707.q11H7Tmc096439@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jh
Date: Wed Feb  1 17:07:29 2012
New Revision: 230871
URL: http://svn.freebsd.org/changeset/base/230871

Log:
  MFC r228359:
  
  sbuf_data() hasn't returned NULL for overflowed buffers since r71721.

Modified:
  stable/7/share/man/man9/sbuf.9
Directory Properties:
  stable/7/share/man/man9/   (props changed)

Modified: stable/7/share/man/man9/sbuf.9
==============================================================================
--- stable/7/share/man/man9/sbuf.9	Wed Feb  1 17:04:14 2012	(r230870)
+++ stable/7/share/man/man9/sbuf.9	Wed Feb  1 17:07:29 2012	(r230871)
@@ -25,7 +25,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd January 25, 2011
+.Dd December 9, 2011
 .Dt SBUF 9
 .Os
 .Sh NAME
@@ -456,12 +456,8 @@ function
 returns a non-zero value if the buffer overflowed, and zero otherwise.
 .Pp
 The
-.Fn sbuf_data
-and
 .Fn sbuf_len
-functions return
-.Dv NULL
-and \-1, respectively, if the buffer overflowed.
+function returns \-1 if the buffer overflowed.
 .Pp
 The
 .Fn sbuf_copyin



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