From 459992e2602eb90fb7d62960a605a5245f522148 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Fri, 24 Mar 2023 12:00:23 +0100 Subject: vdprintf-gnu: New module. * m4/vdprintf-posix.m4 (gl_FUNC_VDPRINTF_IS_POSIX): New macro, extracted from gl_FUNC_VDPRINTF_POSIX. (gl_FUNC_VDPRINTF_POSIX): Require it. Invoke gl_PREREQ_VASNPRINTF_WITH_POSIX_EXTRAS. * m4/vdprintf-gnu.m4: New file, based on m4/vdprintf-posix.m4. * modules/vdprintf-gnu: New file, based on modules/vasnprintf-gnu. * doc/posix-functions/vdprintf.texi: Mention the new module. --- doc/posix-functions/vdprintf.texi | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'doc/posix-functions') diff --git a/doc/posix-functions/vdprintf.texi b/doc/posix-functions/vdprintf.texi index d533d32892..59138d5d15 100644 --- a/doc/posix-functions/vdprintf.texi +++ b/doc/posix-functions/vdprintf.texi @@ -4,16 +4,16 @@ POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/vdprintf.html} -Gnulib module: vdprintf or vdprintf-posix +Gnulib module: vdprintf or vdprintf-posix or vdprintf-gnu -Portability problems fixed by either Gnulib module @code{vdprintf} or @code{vdprintf-posix}: +Portability problems fixed by either Gnulib module @code{vdprintf} or @code{vdprintf-posix} or @code{vdprintf-gnu}: @itemize @item This function is missing on some platforms: Mac OS X 10.5, FreeBSD 6.0, NetBSD 5.0, OpenBSD 3.8, Minix 3.1.8, AIX 5.1, HP-UX 11, IRIX 6.5, Solaris 11.3, Cygwin 1.5.x, mingw, MSVC 14. @end itemize -Portability problems fixed by Gnulib module @code{vdprintf-posix}: +Portability problems fixed by either Gnulib module @code{vdprintf-posix} or @code{vdprintf-gnu}: @itemize @item printf @code{"%f"}, @code{"%e"}, @code{"%g"} of Infinity and NaN yields an @@ -50,6 +50,13 @@ wide character argument on some platforms: glibc 2.35, FreeBSD 13.1, NetBSD 9.0, OpenBSD 7.2, macOS 12.5, AIX 7.2, Solaris 11.4, and others. @end itemize +Portability problems fixed by Gnulib module @code{vdprintf-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 -- cgit v1.2.1