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)
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>
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
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
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
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