From 7e73cf31ed32c3931a7f85cb863432d72e8af95f Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Fri, 24 Mar 2023 12:11:52 +0100 Subject: obstack-printf-gnu: New module. * m4/obstack-printf-posix.m4 (gl_FUNC_OBSTACK_PRINTF_IS_POSIX): New macro, extracted from gl_FUNC_OBSTACK_PRINTF_POSIX. (gl_FUNC_OBSTACK_PRINTF_POSIX): Require it. Invoke gl_PREREQ_VASNPRINTF_WITH_POSIX_EXTRAS. * m4/obstack-printf-gnu.m4: New file, based on m4/obstack-printf-posix.m4. * modules/obstack-printf-gnu: New file, based on modules/vasnprintf-gnu. * doc/glibc-functions/obstack_printf.texi: Mention the new module. * doc/glibc-functions/obstack_vprintf.texi: Likewise. --- doc/glibc-functions/obstack_printf.texi | 13 ++++++++++--- doc/glibc-functions/obstack_vprintf.texi | 13 ++++++++++--- 2 files changed, 20 insertions(+), 6 deletions(-) (limited to 'doc/glibc-functions') diff --git a/doc/glibc-functions/obstack_printf.texi b/doc/glibc-functions/obstack_printf.texi index 8b13e1296e..18d82a903c 100644 --- a/doc/glibc-functions/obstack_printf.texi +++ b/doc/glibc-functions/obstack_printf.texi @@ -10,17 +10,17 @@ Documentation:@* @url{https://www.gnu.org/software/libc/manual/html_node/Dynamic-Output.html}. @end ifnotinfo -Gnulib module: obstack-printf or obstack-printf-posix +Gnulib module: obstack-printf or obstack-printf-posix or obstack-printf-gnu Portability problems fixed by either Gnulib module -@code{obstack-printf} or @code{obstack-printf-posix}: +@code{obstack-printf} or @code{obstack-printf-posix} or @code{obstack-printf-gnu}: @itemize @item This function is missing on all non-glibc platforms: macOS 11.1, FreeBSD 13.0, NetBSD 9.0, OpenBSD 6.7, Minix 3.1.8, AIX 5.1, HP-UX 11, IRIX 6.5, Solaris 11.4, Cygwin 2.9, mingw, MSVC 14, Android 9.0. @end itemize -Portability problems fixed by Gnulib module @code{obstack-printf-posix}: +Portability problems fixed by either Gnulib module @code{obstack-printf-posix} or @code{obstack-printf-gnu}: @itemize @item This function does not support size specifiers as in C99 (@code{hh}, @code{ll}, @@ -88,6 +88,13 @@ This function does not fully support the @samp{n} directive on some platforms: HP-UX 11, mingw, MSVC 14. @end itemize +Portability problems fixed by Gnulib module @code{obstack-printf-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 diff --git a/doc/glibc-functions/obstack_vprintf.texi b/doc/glibc-functions/obstack_vprintf.texi index 2ea59ef4fa..6d7ba77b30 100644 --- a/doc/glibc-functions/obstack_vprintf.texi +++ b/doc/glibc-functions/obstack_vprintf.texi @@ -10,17 +10,17 @@ Documentation:@* @url{https://www.gnu.org/software/libc/manual/html_node/Variable-Arguments-Output.html}. @end ifnotinfo -Gnulib module: obstack-printf or obstack-printf-posix +Gnulib module: obstack-printf or obstack-printf-posix or obstack-printf-gnu Portability problems fixed by either Gnulib module -@code{obstack-printf} or @code{obstack-printf-posix}: +@code{obstack-printf} or @code{obstack-printf-posix} or @code{obstack-printf-gnu}: @itemize @item This function is missing on all non-glibc platforms: macOS 11.1, FreeBSD 13.0, NetBSD 9.0, OpenBSD 6.7, Minix 3.1.8, AIX 5.1, HP-UX 11, IRIX 6.5, Solaris 11.4, Cygwin 2.9, mingw, MSVC 14, Android 9.0. @end itemize -Portability problems fixed by Gnulib module @code{obstack-printf-posix}: +Portability problems fixed by either Gnulib module @code{obstack-printf-posix} or @code{obstack-printf-gnu}: @itemize @item This function does not support size specifiers as in C99 (@code{hh}, @code{ll}, @@ -88,6 +88,13 @@ This function does not fully support the @samp{n} directive on some platforms: HP-UX 11, mingw, MSVC 14. @end itemize +Portability problems fixed by Gnulib module @code{obstack-printf-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