Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jan 2012 11:10:17 +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-8@freebsd.org
Subject:   svn commit: r230057 - stable/8/share/man/man9
Message-ID:  <201201131110.q0DBAH4i060008@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jh
Date: Fri Jan 13 11:10:17 2012
New Revision: 230057
URL: http://svn.freebsd.org/changeset/base/230057

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

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

Modified: stable/8/share/man/man9/sbuf.9
==============================================================================
--- stable/8/share/man/man9/sbuf.9	Fri Jan 13 11:06:31 2012	(r230056)
+++ stable/8/share/man/man9/sbuf.9	Fri Jan 13 11:10:17 2012	(r230057)
@@ -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?201201131110.q0DBAH4i060008>