changeset 9941:b1a61ff4ff40

Document snprintf bug on Linux libc5.
author Bruno Haible <bruno@clisp.org>
date Sun, 20 Apr 2008 09:51:46 +0200
parents 0471a8660b70
children 6c1b311583d7
files doc/posix-functions/snprintf.texi doc/posix-functions/vsnprintf.texi
diffstat 2 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/doc/posix-functions/snprintf.texi
+++ b/doc/posix-functions/snprintf.texi
@@ -11,6 +11,10 @@
 @item
 This function is missing on some platforms:
 OSF/1 4.0, Solaris 2.5.1.
+@item
+This function overwrites memory even when a size argument of 1 is passed on some
+platforms:
+Linux libc5.
 @end itemize
 
 Portability problems fixed by Gnulib module @code{snprintf-posix}:
--- a/doc/posix-functions/vsnprintf.texi
+++ b/doc/posix-functions/vsnprintf.texi
@@ -11,6 +11,10 @@
 @item
 This function is missing on some platforms:
 OSF/1 4.0, Solaris 2.5.1.
+@item
+This function overwrites memory even when a size argument of 1 is passed on some
+platforms:
+Linux libc5.
 @end itemize
 
 Portability problems fixed by Gnulib module @code{vsnprintf-posix}: