summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2023-03-24 11:17:22 +0100
committerBruno Haible <bruno@clisp.org>2023-03-24 11:17:22 +0100
commit21cb2b8ed03e0dd628c9be30734f563627a9b7e5 (patch)
tree69fbcf313a382556f47992719c1a3467562a846f /doc
parent0bba8aca9171f8b2e8835b0e2733541e8f119496 (diff)
downloadgnulib-21cb2b8ed03e0dd628c9be30734f563627a9b7e5.tar.gz
vsprintf-gnu: New module.
* m4/vsprintf-posix.m4 (gl_FUNC_VSPRINTF_IS_POSIX): New macro, extracted from gl_FUNC_VSPRINTF_POSIX. (gl_FUNC_VSPRINTF_POSIX): Require it. Invoke gl_PREREQ_VASNPRINTF_WITH_POSIX_EXTRAS. * m4/vsprintf-gnu.m4: New file, based on m4/vsprintf-posix.m4. * modules/vsprintf-gnu: New file, based on modules/vasnprintf-gnu. * doc/posix-functions/vsprintf.texi: Mention the new module.
Diffstat (limited to 'doc')
-rw-r--r--doc/posix-functions/vsprintf.texi11
1 files changed, 9 insertions, 2 deletions
diff --git a/doc/posix-functions/vsprintf.texi b/doc/posix-functions/vsprintf.texi
index 27ec5b9141..5ae3644e00 100644
--- a/doc/posix-functions/vsprintf.texi
+++ b/doc/posix-functions/vsprintf.texi
@@ -4,9 +4,9 @@
POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/vsprintf.html}
-Gnulib module: vsprintf-posix
+Gnulib module: vsprintf-posix or vsprintf-gnu
-Portability problems fixed by Gnulib:
+Portability problems fixed by either Gnulib module @code{vsprintf-posix} or @code{vsprintf-gnu}:
@itemize
@item
This function does not support size specifiers as in C99 (@code{hh}, @code{ll},
@@ -80,6 +80,13 @@ The compiler warns that this function is deprecated:
macOS 13.0.
@end itemize
+Portability problems fixed by Gnulib module @code{vsprintf-gnu}:
+@itemize
+@item
+This function does not support the @samp{B} directive on some platforms:
+glibc 2.34, FreeBSD 13.1, NetBSD 9.0, OpenBSD 7.2, macOS 12.5, AIX 7.2, Solaris 11.4, and others.
+@end itemize
+
Portability problems not fixed by Gnulib:
@itemize
@item