Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jul 2012 21:38:14 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r238853 - head/lib/libc/string
Message-ID:  <201207272138.q6RLcEHZ049239@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Fri Jul 27 21:38:14 2012
New Revision: 238853
URL: http://svn.freebsd.org/changeset/base/238853

Log:
  Correct BUGS description of static buffer use
  
  Since r142667 strerror has unconditionally returned a pointer to a
  static buffer.
  
  MFC after:	1 week

Modified:
  head/lib/libc/string/strerror.3

Modified: head/lib/libc/string/strerror.3
==============================================================================
--- head/lib/libc/string/strerror.3	Fri Jul 27 19:56:36 2012	(r238852)
+++ head/lib/libc/string/strerror.3	Fri Jul 27 21:38:14 2012	(r238853)
@@ -174,10 +174,10 @@ function was implemented in
 by
 .An Wes Peters Aq wes@FreeBSD.org .
 .Sh BUGS
-For unknown error numbers, the
+The
 .Fn strerror
-function will return its result in a static buffer which
-may be overwritten by subsequent calls.
+function returns its result in a static buffer which
+will be overwritten by subsequent calls.
 .Pp
 The return type for
 .Fn strerror



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