Date: Mon, 20 Aug 2012 14:05:19 +0000 (UTC) From: Ed Maste <emaste@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r239423 - stable/9/lib/libc/string Message-ID: <201208201405.q7KE5Jof044135@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: emaste Date: Mon Aug 20 14:05:19 2012 New Revision: 239423 URL: http://svn.freebsd.org/changeset/base/239423 Log: MFC r238183: Correct BUGS description of static buffer use Since r142667 strerror has unconditionally returned a pointer to a static buffer. Modified: stable/9/lib/libc/string/strerror.3 Directory Properties: stable/9/lib/libc/ (props changed) Modified: stable/9/lib/libc/string/strerror.3 ============================================================================== --- stable/9/lib/libc/string/strerror.3 Mon Aug 20 13:59:22 2012 (r239422) +++ stable/9/lib/libc/string/strerror.3 Mon Aug 20 14:05:19 2012 (r239423) @@ -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?201208201405.q7KE5Jof044135>