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 [email protected] . .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 _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "[email protected]"
