changeset 13843:692b9ea2f8e2

Add a comment. * doc/posix-functions/strerror.texi: Add a comment.
author Bruno Haible <bruno@clisp.org>
date Tue, 09 Nov 2010 21:57:58 +0100
parents eee91e173fad
children d75056826e59
files ChangeLog doc/posix-functions/strerror.texi
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-11-09  Bruno Haible  <bruno@clisp.org>
+
+	* doc/posix-functions/strerror.texi: Add a comment.
+
 2010-11-07  Paul Eggert  <eggert@cs.ucla.edu>
 
 	fdopendir: fix bug on MacOS X when low on file descriptors
--- a/doc/posix-functions/strerror.texi
+++ b/doc/posix-functions/strerror.texi
@@ -16,6 +16,8 @@
 This function fails to return a string for out-of-range integers on
 some platforms:
 Solaris 8.
+(This is not a POSIX violation, but can still cause bugs because most programs
+call @code{strerror} without setting and testing @code{errno}.)
 @end itemize
 
 Portability problems not fixed by Gnulib: