summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2023-03-24 12:11:52 +0100
committerBruno Haible <bruno@clisp.org>2023-03-24 12:11:52 +0100
commit7e73cf31ed32c3931a7f85cb863432d72e8af95f (patch)
tree7fd4e7e497b1a1dd27b559b339d2c83118c0adbd /doc
parentb54782e2765a43971b91ff637cefc446933022cc (diff)
downloadgnulib-7e73cf31ed32c3931a7f85cb863432d72e8af95f.tar.gz
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.
Diffstat (limited to 'doc')
-rw-r--r--doc/glibc-functions/obstack_printf.texi13
-rw-r--r--doc/glibc-functions/obstack_vprintf.texi13
2 files changed, 20 insertions, 6 deletions
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