svn commit: r239424 - stable/8/lib/libc/string

Ed Maste emaste at FreeBSD.org
Mon Aug 20 14:10:01 UTC 2012


Author: emaste
Date: Mon Aug 20 14:10:00 2012
New Revision: 239424
URL: http://svn.freebsd.org/changeset/base/239424

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

Modified:
  stable/8/lib/libc/string/strerror.3
Directory Properties:
  stable/8/lib/libc/   (props changed)

Modified: stable/8/lib/libc/string/strerror.3
==============================================================================
--- stable/8/lib/libc/string/strerror.3	Mon Aug 20 14:05:19 2012	(r239423)
+++ stable/8/lib/libc/string/strerror.3	Mon Aug 20 14:10:00 2012	(r239424)
@@ -174,10 +174,10 @@ function was implemented in
 by
 .An Wes Peters Aq wes at 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


More information about the svn-src-stable mailing list