From 60b0b1d24b22c26b2390c5f591a5477429af8b39 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Tue, 9 Nov 2010 21:57:58 +0100 Subject: [PATCH] Add a comment. * doc/posix-functions/strerror.texi: Add a comment. --- ChangeLog | 4 ++++ doc/posix-functions/strerror.texi | 2 ++ 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index 4d9c4ea55..8a6814379 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2010-11-09 Bruno Haible + + * doc/posix-functions/strerror.texi: Add a comment. + 2010-11-07 Paul Eggert fdopendir: fix bug on MacOS X when low on file descriptors diff --git a/doc/posix-functions/strerror.texi b/doc/posix-functions/strerror.texi index 84d92c3f1..1c1e46eb4 100644 --- a/doc/posix-functions/strerror.texi +++ b/doc/posix-functions/strerror.texi @@ -16,6 +16,8 @@ OpenBSD 4.0, OSF/1 5.1, NonStop Kernel, Cygwin 1.5.x, mingw. 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: -- 2.11.0