docs: document recently fixed glibc printf bug
authorEric Blake <eblake@redhat.com>
Tue, 24 May 2011 23:33:39 +0000 (17:33 -0600)
committerIan Beckwith <ianb@erislabs.net>
Thu, 9 Jun 2011 18:54:35 +0000 (19:54 +0100)
Document it as a known bug, but one where we don't provide a
workaround since programmers are unlikely to hit it in practice.

* doc/posix-functions/fprintf.texi (fprintf): Document it.
* doc/posix-functions/printf.texi (printf): Likewise.
* doc/posix-functions/vfprintf.texi (vfprintf): Likewise.
* doc/posix-functions/vprintf.texi (vprintf): Likewise.

Signed-off-by: Eric Blake <eblake@redhat.com>
(cherry picked from commit f4c4af09bcf3f0497dc3347ecc0a0b3c9ee1ff63)

ChangeLog
doc/posix-functions/fprintf.texi
doc/posix-functions/printf.texi
doc/posix-functions/vfprintf.texi
doc/posix-functions/vprintf.texi

index eee8813..15d64f8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,8 +1,10 @@
 2011-05-24  Eric Blake  <eblake@redhat.com>
 
-       atexit-tests: ensure reliable exit status
-       * tests/test-atexit.sh: Prefer 'Exit' over 'exit'.
-       Reported by Bruno Haible.
+       docs: document recently fixed glibc printf bug
+       * doc/posix-functions/fprintf.texi (fprintf): Document it.
+       * doc/posix-functions/printf.texi (printf): Likewise.
+       * doc/posix-functions/vfprintf.texi (vfprintf): Likewise.
+       * doc/posix-functions/vprintf.texi (vprintf): Likewise.
 
 2011-05-24  Eric Blake  <eblake@redhat.com>
 
index 04c4c72..44bcca3 100644 (file)
@@ -83,4 +83,8 @@ mingw.
 
 Portability problems not fixed by Gnulib:
 @itemize
+@item
+Attempting to write to a read-only stream fails with @code{EOF} but
+does not set the error flag for @code{ferror} on some platforms:
+glibc 2.13.
 @end itemize
index df7813f..8fc8cb0 100644 (file)
@@ -83,4 +83,8 @@ mingw.
 
 Portability problems not fixed by Gnulib:
 @itemize
+@item
+Attempting to write to a read-only stream fails with @code{EOF} but
+does not set the error flag for @code{ferror} on some platforms:
+glibc 2.13.
 @end itemize
index b40a334..c6fab25 100644 (file)
@@ -83,4 +83,8 @@ mingw.
 
 Portability problems not fixed by Gnulib:
 @itemize
+@item
+Attempting to write to a read-only stream fails with @code{EOF} but
+does not set the error flag for @code{ferror} on some platforms:
+glibc 2.13.
 @end itemize
index 342d182..21d4bc6 100644 (file)
@@ -83,4 +83,8 @@ mingw.
 
 Portability problems not fixed by Gnulib:
 @itemize
+@item
+Attempting to write to a read-only stream fails with @code{EOF} but
+does not set the error flag for @code{ferror} on some platforms:
+glibc 2.13.
 @end itemize