Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Feb 2013 22:48:00 +0000 (UTC)
From:      Jilles Tjoelker <jilles@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r246952 - head/lib/libc/stdio
Message-ID:  <201302182248.r1IMm0cG049295@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jilles
Date: Mon Feb 18 22:47:59 2013
New Revision: 246952
URL: http://svnweb.freebsd.org/changeset/base/246952

Log:
  setbuf(3): Restore a BUGS section about setbuf().
  
  The brokenness of setbuf() is not specific to 4.2BSD and 4.3BSD but inherent
  in the API definition.
  
  Reported by:	bde

Modified:
  head/lib/libc/stdio/setbuf.3

Modified: head/lib/libc/stdio/setbuf.3
==============================================================================
--- head/lib/libc/stdio/setbuf.3	Mon Feb 18 22:47:16 2013	(r246951)
+++ head/lib/libc/stdio/setbuf.3	Mon Feb 18 22:47:59 2013	(r246952)
@@ -32,7 +32,7 @@
 .\"     @(#)setbuf.3	8.1 (Berkeley) 6/4/93
 .\" $FreeBSD$
 .\"
-.Dd February 15, 2013
+.Dd February 18, 2013
 .Dt SETBUF 3
 .Os
 .Sh NAME
@@ -195,3 +195,6 @@ and
 functions
 conform to
 .St -isoC .
+.Sh BUGS
+.Fn setbuf
+usually uses a suboptimal buffer size and should be avoided.



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