A couple of patches that improve the information about the *printf functions'
workarounds.


2024-06-24  Bruno Haible  <br...@clisp.org>

        doc: Update info about *printf.
        * doc/*-functions/*printf.texi: Update info regarding size specifiers
        w8, wf8, etc.

2024-06-24  Bruno Haible  <br...@clisp.org>

        doc: Update info about *printf.
        * doc/*-functions/*printf.texi: Update info regarding %B directive.

2024-06-24  Bruno Haible  <br...@clisp.org>

        doc: Update info about *printf.
        * doc/*-functions/*printf.texi: Update info regarding %b directive.

2024-06-24  Bruno Haible  <br...@clisp.org>

        doc: Update info about *printf.
        * doc/*-functions/*printf.texi: Update info regarding %f, %e, %g
        directives.

2024-06-24  Bruno Haible  <br...@clisp.org>

        doc: Update info about *printf.
        * doc/*-functions/*printf.texi: Update info regarding %a directive.
        * m4/printf.m4 (gl_PRINTF_DIRECTIVE_A): Likewise. Improve bits
        assignment in return value.

2024-06-24  Bruno Haible  <br...@clisp.org>

        doc: Update info about obstack_*printf.
        * doc/glibc-functions/obstack_*printf.texi: Update info.

>From 56fd8b5514a8ed776bf9ff63aced37dd4e248adf Mon Sep 17 00:00:00 2001
From: Bruno Haible <br...@clisp.org>
Date: Mon, 24 Jun 2024 20:02:04 +0200
Subject: [PATCH 1/6] doc: Update info about obstack_*printf.

* doc/glibc-functions/obstack_*printf.texi: Update info.
---
 ChangeLog                                | 5 +++++
 doc/glibc-functions/obstack_printf.texi  | 2 +-
 doc/glibc-functions/obstack_vprintf.texi | 2 +-
 3 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 9a702d4af3..631a15c7dc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2024-06-24  Bruno Haible  <br...@clisp.org>
+
+	doc: Update info about obstack_*printf.
+	* doc/glibc-functions/obstack_*printf.texi: Update info.
+
 2024-06-24  Bruno Haible  <br...@clisp.org>
 
 	git-merge-changelog: Improve last commit.
diff --git a/doc/glibc-functions/obstack_printf.texi b/doc/glibc-functions/obstack_printf.texi
index 961ac039c5..01d0508064 100644
--- a/doc/glibc-functions/obstack_printf.texi
+++ b/doc/glibc-functions/obstack_printf.texi
@@ -17,7 +17,7 @@
 @itemize
 @item
 This function is missing on all non-glibc platforms:
-macOS 14, FreeBSD 14.0, NetBSD 10.0, OpenBSD 6.7, Minix 3.1.8, AIX 5.1, HP-UX 11, Solaris 11.4, Cygwin 2.9, mingw, MSVC 14, Android 9.0.
+musl libc, macOS 14, FreeBSD 14.0, NetBSD 10.0, OpenBSD 7.5, Minix 3.1.8, AIX 7.3, HP-UX 11, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC 14, Android 9.0.
 @end itemize
 
 Portability problems fixed by either Gnulib module @code{obstack-printf-posix} or @code{obstack-printf-gnu}:
diff --git a/doc/glibc-functions/obstack_vprintf.texi b/doc/glibc-functions/obstack_vprintf.texi
index 9ac84a943c..4ef55504e9 100644
--- a/doc/glibc-functions/obstack_vprintf.texi
+++ b/doc/glibc-functions/obstack_vprintf.texi
@@ -17,7 +17,7 @@
 @itemize
 @item
 This function is missing on all non-glibc platforms:
-macOS 14, FreeBSD 14.0, NetBSD 10.0, OpenBSD 6.7, Minix 3.1.8, AIX 5.1, HP-UX 11, Solaris 11.4, Cygwin 2.9, mingw, MSVC 14, Android 9.0.
+musl libc, macOS 14, FreeBSD 14.0, NetBSD 10.0, OpenBSD 7.5, Minix 3.1.8, AIX 7.3, HP-UX 11, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC 14, Android 9.0.
 @end itemize
 
 Portability problems fixed by either Gnulib module @code{obstack-printf-posix} or @code{obstack-printf-gnu}:
-- 
2.34.1

>From 6dcd0911bff6a4695149ac9c733f46758504fb7c Mon Sep 17 00:00:00 2001
From: Bruno Haible <br...@clisp.org>
Date: Mon, 24 Jun 2024 20:02:46 +0200
Subject: [PATCH 2/6] doc: Update info about *printf.

* doc/*-functions/*printf.texi: Update info regarding %a directive.
* m4/printf.m4 (gl_PRINTF_DIRECTIVE_A): Likewise. Improve bits
assignment in return value.
---
 ChangeLog                                |  7 +++++++
 doc/glibc-functions/asprintf.texi        |  4 ++--
 doc/glibc-functions/obstack_printf.texi  |  4 ++--
 doc/glibc-functions/obstack_vprintf.texi |  4 ++--
 doc/glibc-functions/vasprintf.texi       |  4 ++--
 doc/posix-functions/dprintf.texi         |  6 +++++-
 doc/posix-functions/fprintf.texi         |  4 ++--
 doc/posix-functions/printf.texi          |  4 ++--
 doc/posix-functions/snprintf.texi        |  4 ++--
 doc/posix-functions/sprintf.texi         |  4 ++--
 doc/posix-functions/vdprintf.texi        |  6 +++++-
 doc/posix-functions/vfprintf.texi        |  4 ++--
 doc/posix-functions/vprintf.texi         |  4 ++--
 doc/posix-functions/vsnprintf.texi       |  4 ++--
 doc/posix-functions/vsprintf.texi        |  4 ++--
 m4/printf.m4                             | 20 ++++++++++++--------
 16 files changed, 53 insertions(+), 34 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 631a15c7dc..04adbdc9a3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2024-06-24  Bruno Haible  <br...@clisp.org>
+
+	doc: Update info about *printf.
+	* doc/*-functions/*printf.texi: Update info regarding %a directive.
+	* m4/printf.m4 (gl_PRINTF_DIRECTIVE_A): Likewise. Improve bits
+	assignment in return value.
+
 2024-06-24  Bruno Haible  <br...@clisp.org>
 
 	doc: Update info about obstack_*printf.
diff --git a/doc/glibc-functions/asprintf.texi b/doc/glibc-functions/asprintf.texi
index ffbf3bd0a9..be7cd28546 100644
--- a/doc/glibc-functions/asprintf.texi
+++ b/doc/glibc-functions/asprintf.texi
@@ -39,7 +39,7 @@
 @item
 This function does not support the @samp{a} and @samp{A} directives on some
 platforms:
-glibc-2.3.6, Mac OS X 10.5, NetBSD 10.0, OpenBSD 4.0, Solaris 11.4, Cygwin 1.5.x.
+FreeBSD 5.2.1, OpenBSD 4.0, Solaris 11.4, Cygwin 1.5.x.
 @item
 This function does not support the @samp{b} directive, required by ISO C23,
 on some platforms:
@@ -65,7 +65,7 @@
 @item
 This function does not round the argument of the @samp{a} directive correctly
 on some platforms:
-macOS 14, FreeBSD 14.0.
+macOS 14, FreeBSD 14.0, NetBSD 10.0, OpenBSD 7.5, AIX 7.3, Solaris 11.4.
 @item
 printf @code{"%010f"} of NaN and Infinity yields an incorrect result (padded
 with zeroes) on some platforms:
diff --git a/doc/glibc-functions/obstack_printf.texi b/doc/glibc-functions/obstack_printf.texi
index 01d0508064..c205047e65 100644
--- a/doc/glibc-functions/obstack_printf.texi
+++ b/doc/glibc-functions/obstack_printf.texi
@@ -36,7 +36,7 @@
 @item
 This function does not support the @samp{a} and @samp{A} directives on some
 platforms:
-glibc-2.3.6, NetBSD 10.0, OpenBSD 4.0, AIX 5.2, HP-UX 11,
+FreeBSD 5.2.1, OpenBSD 4.0, AIX 5.2, HP-UX 11,
 Solaris 11.4, Cygwin 1.5.x, mingw, MSVC 14.
 @item
 This function does not support the @samp{b} directive, required by ISO C23,
@@ -64,7 +64,7 @@
 @item
 This function does not round the argument of the @samp{a} directive correctly
 on some platforms:
-Mac OS X 10.12, FreeBSD 6.1.
+macOS 14, FreeBSD 14.0, NetBSD 10.0, OpenBSD 7.5, AIX 7.3, Solaris 11.4.
 @item
 printf @code{"%010f"} of NaN and Infinity yields an incorrect result (padded
 with zeroes) on some platforms:
diff --git a/doc/glibc-functions/obstack_vprintf.texi b/doc/glibc-functions/obstack_vprintf.texi
index 4ef55504e9..e7703863d3 100644
--- a/doc/glibc-functions/obstack_vprintf.texi
+++ b/doc/glibc-functions/obstack_vprintf.texi
@@ -36,7 +36,7 @@
 @item
 This function does not support the @samp{a} and @samp{A} directives on some
 platforms:
-glibc-2.3.6, NetBSD 10.0, OpenBSD 4.0, AIX 5.2, HP-UX 11,
+FreeBSD 5.2.1, OpenBSD 4.0, AIX 5.2, HP-UX 11,
 Solaris 11.4, Cygwin 1.5.x, mingw, MSVC 14.
 @item
 This function does not support the @samp{b} directive, required by ISO C23,
@@ -64,7 +64,7 @@
 @item
 This function does not round the argument of the @samp{a} directive correctly
 on some platforms:
-Mac OS X 10.12, FreeBSD 6.1.
+macOS 14, FreeBSD 14.0, NetBSD 10.0, OpenBSD 7.5, AIX 7.3, Solaris 11.4.
 @item
 printf @code{"%010f"} of NaN and Infinity yields an incorrect result (padded
 with zeroes) on some platforms:
diff --git a/doc/glibc-functions/vasprintf.texi b/doc/glibc-functions/vasprintf.texi
index 50e4f11ca1..4d53e3e407 100644
--- a/doc/glibc-functions/vasprintf.texi
+++ b/doc/glibc-functions/vasprintf.texi
@@ -39,7 +39,7 @@
 @item
 This function does not support the @samp{a} and @samp{A} directives on some
 platforms:
-glibc-2.3.6, Mac OS X 10.5, NetBSD 10.0, OpenBSD 4.0, Solaris 11.4, Cygwin 1.5.x.
+FreeBSD 5.2.1, OpenBSD 4.0, Solaris 11.4, Cygwin 1.5.x.
 @item
 This function does not support the @samp{b} directive, required by ISO C23,
 on some platforms:
@@ -65,7 +65,7 @@
 @item
 This function does not round the argument of the @samp{a} directive correctly
 on some platforms:
-macOS 14, FreeBSD 14.0.
+macOS 14, FreeBSD 14.0, NetBSD 10.0, OpenBSD 7.5, AIX 7.3, Solaris 11.4.
 @item
 printf @code{"%010f"} of NaN and Infinity yields an incorrect result (padded
 with zeroes) on some platforms:
diff --git a/doc/posix-functions/dprintf.texi b/doc/posix-functions/dprintf.texi
index 4694ab0901..b19057fbe3 100644
--- a/doc/posix-functions/dprintf.texi
+++ b/doc/posix-functions/dprintf.texi
@@ -28,7 +28,7 @@
 @item
 This function does not support the @samp{a} and @samp{A} directives on some
 platforms:
-glibc-2.3.6, Solaris 11.4.
+Solaris 11.4.
 @item
 This function does not support the @samp{b} directive, required by ISO C23,
 on some platforms:
@@ -39,6 +39,10 @@
 on some platforms:
 Solaris 11.4.
 @item
+This function does not round the argument of the @samp{a} directive correctly
+on some platforms:
+macOS 14, FreeBSD 14.0, NetBSD 10.0, OpenBSD 7.5, AIX 7.3, Solaris 11.4.
+@item
 printf @code{"%010f"} of NaN and Infinity yields an incorrect result (padded
 with zeroes, or wrong capitalization) on some platforms:
 Solaris 11.4.
diff --git a/doc/posix-functions/fprintf.texi b/doc/posix-functions/fprintf.texi
index fa3f331250..36fafeea2f 100644
--- a/doc/posix-functions/fprintf.texi
+++ b/doc/posix-functions/fprintf.texi
@@ -28,7 +28,7 @@
 @item
 This function does not support the @samp{a} and @samp{A} directives on some
 platforms:
-glibc-2.3.6, Mac OS X 10.5, NetBSD 10.0, OpenBSD 4.0, AIX 5.2, HP-UX 11,
+FreeBSD 5.2.1, OpenBSD 4.0, AIX 5.2, HP-UX 11,
 Solaris 11.4, Cygwin 1.5.x, mingw, MSVC 14.
 @item
 This function does not support the @samp{b} directive, required by ISO C23,
@@ -56,7 +56,7 @@
 @item
 This function does not round the argument of the @samp{a} directive correctly
 on some platforms:
-macOS 14, FreeBSD 14.0.
+macOS 14, FreeBSD 14.0, NetBSD 10.0, OpenBSD 7.5, AIX 7.3, Solaris 11.4.
 @item
 printf @code{"%010f"} of NaN and Infinity yields an incorrect result (padded
 with zeroes, or wrong capitalization) on some platforms:
diff --git a/doc/posix-functions/printf.texi b/doc/posix-functions/printf.texi
index d77e48fcc3..55d4291a58 100644
--- a/doc/posix-functions/printf.texi
+++ b/doc/posix-functions/printf.texi
@@ -28,7 +28,7 @@
 @item
 This function does not support the @samp{a} and @samp{A} directives on some
 platforms:
-glibc-2.3.6, Mac OS X 10.5, NetBSD 10.0, OpenBSD 4.0, AIX 5.2, HP-UX 11,
+FreeBSD 5.2.1, OpenBSD 4.0, AIX 5.2, HP-UX 11,
 Solaris 11.4, Cygwin 1.5.x, mingw, MSVC 14.
 @item
 This function does not support the @samp{b} directive, required by ISO C23,
@@ -56,7 +56,7 @@
 @item
 This function does not round the argument of the @samp{a} directive correctly
 on some platforms:
-macOS 14, FreeBSD 14.0.
+macOS 14, FreeBSD 14.0, NetBSD 10.0, OpenBSD 7.5, AIX 7.3, Solaris 11.4.
 @item
 printf @code{"%010f"} of NaN and Infinity yields an incorrect result (padded
 with zeroes, or wrong capitalization) on some platforms:
diff --git a/doc/posix-functions/snprintf.texi b/doc/posix-functions/snprintf.texi
index 7e77f2ddf2..c954261289 100644
--- a/doc/posix-functions/snprintf.texi
+++ b/doc/posix-functions/snprintf.texi
@@ -43,7 +43,7 @@
 @item
 This function does not support the @samp{a} and @samp{A} directives on some
 platforms:
-glibc-2.3.6, Mac OS X 10.5, NetBSD 10.0, OpenBSD 4.0, AIX 5.2, HP-UX 11,
+FreeBSD 5.2.1, OpenBSD 4.0, AIX 5.2, HP-UX 11,
 Solaris 11.4, Cygwin 1.5.x, mingw, MSVC 14.
 @item
 This function does not support the @samp{b} directive, required by ISO C23,
@@ -67,7 +67,7 @@
 @item
 This function does not round the argument of the @samp{a} directive correctly
 on some platforms:
-macOS 14, FreeBSD 14.0.
+macOS 14, FreeBSD 14.0, NetBSD 10.0, OpenBSD 7.5, AIX 7.3, Solaris 11.4.
 @item
 printf @code{"%010f"} of NaN and Infinity yields an incorrect result (padded
 with zeroes, or wrong capitalization) on some platforms:
diff --git a/doc/posix-functions/sprintf.texi b/doc/posix-functions/sprintf.texi
index d729bf63a1..05bfccb771 100644
--- a/doc/posix-functions/sprintf.texi
+++ b/doc/posix-functions/sprintf.texi
@@ -28,7 +28,7 @@
 @item
 This function does not support the @samp{a} and @samp{A} directives on some
 platforms:
-glibc-2.3.6, Mac OS X 10.5, NetBSD 10.0, OpenBSD 4.0, AIX 5.2, HP-UX 11,
+FreeBSD 5.2.1, OpenBSD 4.0, AIX 5.2, HP-UX 11,
 Solaris 11.4, Cygwin 1.5.x, mingw, MSVC 14.
 @item
 This function does not support the @samp{b} directive, required by ISO C23,
@@ -56,7 +56,7 @@
 @item
 This function does not round the argument of the @samp{a} directive correctly
 on some platforms:
-macOS 14, FreeBSD 14.0.
+macOS 14, FreeBSD 14.0, NetBSD 10.0, OpenBSD 7.5, AIX 7.3, Solaris 11.4.
 @item
 printf @code{"%010f"} of NaN and Infinity yields an incorrect result (padded
 with zeroes, or wrong capitalization) on some platforms:
diff --git a/doc/posix-functions/vdprintf.texi b/doc/posix-functions/vdprintf.texi
index 23bfae481f..9c12b75584 100644
--- a/doc/posix-functions/vdprintf.texi
+++ b/doc/posix-functions/vdprintf.texi
@@ -28,7 +28,7 @@
 @item
 This function does not support the @samp{a} and @samp{A} directives on some
 platforms:
-glibc-2.3.6, Solaris 11.4.
+Solaris 11.4.
 @item
 This function does not support the @samp{b} directive, required by ISO C23,
 on some platforms:
@@ -39,6 +39,10 @@
 on some platforms:
 Solaris 11.4.
 @item
+This function does not round the argument of the @samp{a} directive correctly
+on some platforms:
+macOS 14, FreeBSD 14.0, NetBSD 10.0, OpenBSD 7.5, AIX 7.3, Solaris 11.4.
+@item
 printf @code{"%010f"} of NaN and Infinity yields an incorrect result (padded
 with zeroes, or wrong capitalization) on some platforms:
 Solaris 11.4.
diff --git a/doc/posix-functions/vfprintf.texi b/doc/posix-functions/vfprintf.texi
index ae07e6fdd1..f4f4a96bcd 100644
--- a/doc/posix-functions/vfprintf.texi
+++ b/doc/posix-functions/vfprintf.texi
@@ -28,7 +28,7 @@
 @item
 This function does not support the @samp{a} and @samp{A} directives on some
 platforms:
-glibc-2.3.6, Mac OS X 10.5, NetBSD 10.0, OpenBSD 4.0, AIX 5.2, HP-UX 11,
+FreeBSD 5.2.1, OpenBSD 4.0, AIX 5.2, HP-UX 11,
 Solaris 11.4, Cygwin 1.5.x, mingw, MSVC 14.
 @item
 This function does not support the @samp{b} directive, required by ISO C23,
@@ -56,7 +56,7 @@
 @item
 This function does not round the argument of the @samp{a} directive correctly
 on some platforms:
-macOS 14, FreeBSD 14.0.
+macOS 14, FreeBSD 14.0, NetBSD 10.0, OpenBSD 7.5, AIX 7.3, Solaris 11.4.
 @item
 printf @code{"%010f"} of NaN and Infinity yields an incorrect result (padded
 with zeroes, or wrong capitalization) on some platforms:
diff --git a/doc/posix-functions/vprintf.texi b/doc/posix-functions/vprintf.texi
index c272a51997..5dc013e895 100644
--- a/doc/posix-functions/vprintf.texi
+++ b/doc/posix-functions/vprintf.texi
@@ -28,7 +28,7 @@
 @item
 This function does not support the @samp{a} and @samp{A} directives on some
 platforms:
-glibc-2.3.6, Mac OS X 10.5, NetBSD 10.0, OpenBSD 4.0, AIX 5.2, HP-UX 11,
+FreeBSD 5.2.1, OpenBSD 4.0, AIX 5.2, HP-UX 11,
 Solaris 11.4, Cygwin 1.5.x, mingw, MSVC 14.
 @item
 This function does not support the @samp{b} directive, required by ISO C23,
@@ -56,7 +56,7 @@
 @item
 This function does not round the argument of the @samp{a} directive correctly
 on some platforms:
-macOS 14, FreeBSD 14.0.
+macOS 14, FreeBSD 14.0, NetBSD 10.0, OpenBSD 7.5, AIX 7.3, Solaris 11.4.
 @item
 printf @code{"%010f"} of NaN and Infinity yields an incorrect result (padded
 with zeroes, or wrong capitalization) on some platforms:
diff --git a/doc/posix-functions/vsnprintf.texi b/doc/posix-functions/vsnprintf.texi
index cc77a30d6e..d470d27105 100644
--- a/doc/posix-functions/vsnprintf.texi
+++ b/doc/posix-functions/vsnprintf.texi
@@ -40,7 +40,7 @@
 @item
 This function does not support the @samp{a} and @samp{A} directives on some
 platforms:
-glibc-2.3.6, Mac OS X 10.5, NetBSD 10.0, OpenBSD 4.0, AIX 5.2, HP-UX 11,
+FreeBSD 5.2.1, OpenBSD 4.0, AIX 5.2, HP-UX 11,
 Solaris 11.4, Cygwin 1.5.x, mingw, MSVC 14.
 @item
 This function does not support the @samp{b} directive, required by ISO C23,
@@ -64,7 +64,7 @@
 @item
 This function does not round the argument of the @samp{a} directive correctly
 on some platforms:
-macOS 14, FreeBSD 14.0.
+macOS 14, FreeBSD 14.0, NetBSD 10.0, OpenBSD 7.5, AIX 7.3, Solaris 11.4.
 @item
 printf @code{"%010f"} of NaN and Infinity yields an incorrect result (padded
 with zeroes, or wrong capitalization) on some platforms:
diff --git a/doc/posix-functions/vsprintf.texi b/doc/posix-functions/vsprintf.texi
index e80dd85c32..a1e8db5e16 100644
--- a/doc/posix-functions/vsprintf.texi
+++ b/doc/posix-functions/vsprintf.texi
@@ -28,7 +28,7 @@
 @item
 This function does not support the @samp{a} and @samp{A} directives on some
 platforms:
-glibc-2.3.6, Mac OS X 10.5, NetBSD 10.0, OpenBSD 4.0, AIX 5.2, HP-UX 11,
+FreeBSD 5.2.1, OpenBSD 4.0, AIX 5.2, HP-UX 11,
 Solaris 11.4, Cygwin 1.5.x, mingw, MSVC 14.
 @item
 This function does not support the @samp{b} directive, required by ISO C23,
@@ -56,7 +56,7 @@
 @item
 This function does not round the argument of the @samp{a} directive correctly
 on some platforms:
-macOS 14, FreeBSD 14.0.
+macOS 14, FreeBSD 14.0, NetBSD 10.0, OpenBSD 7.5, AIX 7.3, Solaris 11.4.
 @item
 printf @code{"%010f"} of NaN and Infinity yields an incorrect result (padded
 with zeroes, or wrong capitalization) on some platforms:
diff --git a/m4/printf.m4 b/m4/printf.m4
index 5eb694b138..1363fe19e4 100644
--- a/m4/printf.m4
+++ b/m4/printf.m4
@@ -1,5 +1,5 @@
 # printf.m4
-# serial 93
+# serial 94
 dnl Copyright (C) 2003, 2007-2024 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -616,6 +616,7 @@ AC_DEFUN([gl_PRINTF_DIRECTIVE_A]
 int main ()
 {
   int result = 0;
+  /* This fails on FreeBSD 5.2.1, Solaris 11.4.  */
   if (sprintf (buf, "%a %d", 3.1416015625, 33, 44, 55) < 0
       || (strcmp (buf, "0x1.922p+1 33") != 0
           && strcmp (buf, "0x3.244p+0 33") != 0
@@ -627,27 +628,29 @@ AC_DEFUN([gl_PRINTF_DIRECTIVE_A]
           && strcmp (buf, "-0X3.244P+0 33") != 0
           && strcmp (buf, "-0X6.488P-1 33") != 0
           && strcmp (buf, "-0XC.91P-2 33") != 0))
-    result |= 2;
-  /* This catches a FreeBSD 13.0 bug: it doesn't round.  */
+    result |= 1;
+  /* This catches a Mac OS X 10.5, FreeBSD 6.4, NetBSD 10.0 bug:
+     it doesn't round.  */
   if (sprintf (buf, "%.2a %d", 1.51, 33, 44, 55) < 0
       || (strcmp (buf, "0x1.83p+0 33") != 0
           && strcmp (buf, "0x3.05p-1 33") != 0
           && strcmp (buf, "0x6.0ap-2 33") != 0
           && strcmp (buf, "0xc.14p-3 33") != 0))
-    result |= 4;
-  /* This catches a macOS 14 (Darwin 23) bug: it doesn't round.  */
+    result |= 2;
+  /* This catches a macOS 14 (Darwin 23), FreeBSD 14.0, OpenBSD 7.5, AIX 7.3,
+     Solaris 11.4 bug: it doesn't round.  */
   if (sprintf (buf, "%.0a %d", 1.51, 33, 44, 55) < 0
       || (strcmp (buf, "0x2p+0 33") != 0
           && strcmp (buf, "0x3p-1 33") != 0
           && strcmp (buf, "0x6p-2 33") != 0
           && strcmp (buf, "0xcp-3 33") != 0))
     result |= 4;
-  /* This catches a FreeBSD 6.1 bug.  See
+  /* This catches a Mac OS X 10.5, FreeBSD 6.4 bug.  See
      <https://lists.gnu.org/r/bug-gnulib/2007-04/msg00107.html> */
   if (sprintf (buf, "%010a %d", 1.0 / zero, 33, 44, 55) < 0
       || buf[0] == '0')
     result |= 8;
-  /* This catches a Mac OS X 10.3.9 (Darwin 7.9) bug.  */
+  /* This catches a Mac OS X 10.3.9 (Darwin 7.9), FreeBSD 6.4 bug.  */
   if (sprintf (buf, "%.1a", 1.999) < 0
       || (strcmp (buf, "0x1.0p+1") != 0
           && strcmp (buf, "0x2.0p+0") != 0
@@ -655,7 +658,8 @@ AC_DEFUN([gl_PRINTF_DIRECTIVE_A]
           && strcmp (buf, "0x8.0p-2") != 0))
     result |= 16;
   /* This catches the same Mac OS X 10.3.9 (Darwin 7.9) bug and also a
-     glibc 2.4 bug <https://sourceware.org/bugzilla/show_bug.cgi?id=2908>.  */
+     glibc 2.4 bug <https://sourceware.org/bugzilla/show_bug.cgi?id=2908>
+     and a FreeBSD 6.4, NetBSD 10.0 bug.  */
   if (sprintf (buf, "%.1La", 1.999L) < 0
       || (strcmp (buf, "0x1.0p+1") != 0
           && strcmp (buf, "0x2.0p+0") != 0
-- 
2.34.1

>From 68068ac4c56d40192cca1e385cf4b487c9adfb3f Mon Sep 17 00:00:00 2001
From: Bruno Haible <br...@clisp.org>
Date: Mon, 24 Jun 2024 20:03:39 +0200
Subject: [PATCH 3/6] doc: Update info about *printf.

* doc/*-functions/*printf.texi: Update info regarding %f, %e, %g
directives.
---
 ChangeLog                                | 6 ++++++
 doc/glibc-functions/asprintf.texi        | 4 ++--
 doc/glibc-functions/obstack_printf.texi  | 4 ++--
 doc/glibc-functions/obstack_vprintf.texi | 4 ++--
 doc/glibc-functions/vasprintf.texi       | 4 ++--
 doc/posix-functions/dprintf.texi         | 4 ++--
 doc/posix-functions/fprintf.texi         | 4 ++--
 doc/posix-functions/printf.texi          | 4 ++--
 doc/posix-functions/snprintf.texi        | 4 ++--
 doc/posix-functions/sprintf.texi         | 4 ++--
 doc/posix-functions/vdprintf.texi        | 4 ++--
 doc/posix-functions/vfprintf.texi        | 4 ++--
 doc/posix-functions/vprintf.texi         | 4 ++--
 doc/posix-functions/vsnprintf.texi       | 4 ++--
 doc/posix-functions/vsprintf.texi        | 4 ++--
 15 files changed, 34 insertions(+), 28 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 04adbdc9a3..e48ae36e2f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2024-06-24  Bruno Haible  <br...@clisp.org>
+
+	doc: Update info about *printf.
+	* doc/*-functions/*printf.texi: Update info regarding %f, %e, %g
+	directives.
+
 2024-06-24  Bruno Haible  <br...@clisp.org>
 
 	doc: Update info about *printf.
diff --git a/doc/glibc-functions/asprintf.texi b/doc/glibc-functions/asprintf.texi
index be7cd28546..96eb638eb7 100644
--- a/doc/glibc-functions/asprintf.texi
+++ b/doc/glibc-functions/asprintf.texi
@@ -35,7 +35,7 @@
 @item
 printf @code{"%f"}, @code{"%e"}, @code{"%g"} of Infinity and NaN yields an
 incorrect result on some platforms:
-Solaris 11.0.
+AIX 7.3, Solaris 11.4.
 @item
 This function does not support the @samp{a} and @samp{A} directives on some
 platforms:
@@ -69,7 +69,7 @@
 @item
 printf @code{"%010f"} of NaN and Infinity yields an incorrect result (padded
 with zeroes) on some platforms:
-Mac OS X 10.5, FreeBSD 6.0, NetBSD 5.0, Solaris 11.0, Cygwin 1.5.x.
+Mac OS X 10.5, FreeBSD 6.0, NetBSD 5.0, AIX 7.3, Solaris 11.4, Cygwin 1.5.x.
 @item
 printf @code{"%#.0x"} or @code{"%#.0X"} with a zero argument yields an
 incorrect result (non-empty) on some platforms:
diff --git a/doc/glibc-functions/obstack_printf.texi b/doc/glibc-functions/obstack_printf.texi
index c205047e65..591968018f 100644
--- a/doc/glibc-functions/obstack_printf.texi
+++ b/doc/glibc-functions/obstack_printf.texi
@@ -32,7 +32,7 @@
 @item
 printf @code{"%f"}, @code{"%e"}, @code{"%g"} of Infinity and NaN yields an
 incorrect result on some platforms:
-AIX 5.2, Solaris 11.0, mingw, MSVC 14.
+AIX 7.3, Solaris 11.4, mingw, MSVC 14.
 @item
 This function does not support the @samp{a} and @samp{A} directives on some
 platforms:
@@ -68,7 +68,7 @@
 @item
 printf @code{"%010f"} of NaN and Infinity yields an incorrect result (padded
 with zeroes) on some platforms:
-Mac OS X 10.5, FreeBSD 6.0, NetBSD 5.0, AIX 5.2, Solaris 11.0, Cygwin 1.5.x, mingw, MSVC/clang.
+Mac OS X 10.5, FreeBSD 6.0, NetBSD 5.0, AIX 7.3, Solaris 11.4, Cygwin 1.5.x, mingw, MSVC/clang.
 @item
 printf @code{"%#.0x"} or @code{"%#.0X"} with a zero argument yields an
 incorrect result (non-empty) on some platforms:
diff --git a/doc/glibc-functions/obstack_vprintf.texi b/doc/glibc-functions/obstack_vprintf.texi
index e7703863d3..cb9d1c9a0f 100644
--- a/doc/glibc-functions/obstack_vprintf.texi
+++ b/doc/glibc-functions/obstack_vprintf.texi
@@ -32,7 +32,7 @@
 @item
 printf @code{"%f"}, @code{"%e"}, @code{"%g"} of Infinity and NaN yields an
 incorrect result on some platforms:
-AIX 5.2, Solaris 11.0, mingw, MSVC 14.
+AIX 7.3, Solaris 11.4, mingw, MSVC 14.
 @item
 This function does not support the @samp{a} and @samp{A} directives on some
 platforms:
@@ -68,7 +68,7 @@
 @item
 printf @code{"%010f"} of NaN and Infinity yields an incorrect result (padded
 with zeroes) on some platforms:
-Mac OS X 10.5, FreeBSD 6.0, NetBSD 5.0, AIX 5.2, Solaris 11.0, Cygwin 1.5.x, mingw, MSVC/clang.
+Mac OS X 10.5, FreeBSD 6.0, NetBSD 5.0, AIX 7.3, Solaris 11.4, Cygwin 1.5.x, mingw, MSVC/clang.
 @item
 printf @code{"%#.0x"} or @code{"%#.0X"} with a zero argument yields an
 incorrect result (non-empty) on some platforms:
diff --git a/doc/glibc-functions/vasprintf.texi b/doc/glibc-functions/vasprintf.texi
index 4d53e3e407..90468e2eec 100644
--- a/doc/glibc-functions/vasprintf.texi
+++ b/doc/glibc-functions/vasprintf.texi
@@ -35,7 +35,7 @@
 @item
 printf @code{"%f"}, @code{"%e"}, @code{"%g"} of Infinity and NaN yields an
 incorrect result on some platforms:
-Solaris 11.0.
+AIX 7.3, Solaris 11.4.
 @item
 This function does not support the @samp{a} and @samp{A} directives on some
 platforms:
@@ -69,7 +69,7 @@
 @item
 printf @code{"%010f"} of NaN and Infinity yields an incorrect result (padded
 with zeroes) on some platforms:
-Mac OS X 10.5, FreeBSD 6.0, NetBSD 5.0, Solaris 11.0, Cygwin 1.5.x.
+Mac OS X 10.5, FreeBSD 6.0, NetBSD 5.0, AIX 7.3, Solaris 11.4, Cygwin 1.5.x.
 @item
 printf @code{"%#.0x"} or @code{"%#.0X"} with a zero argument yields an
 incorrect result (non-empty) on some platforms:
diff --git a/doc/posix-functions/dprintf.texi b/doc/posix-functions/dprintf.texi
index b19057fbe3..3150537ff8 100644
--- a/doc/posix-functions/dprintf.texi
+++ b/doc/posix-functions/dprintf.texi
@@ -24,7 +24,7 @@
 @item
 printf @code{"%f"}, @code{"%e"}, @code{"%g"} of Infinity and NaN yields an
 incorrect result on some platforms:
-Solaris 11.4.
+AIX 7.3, Solaris 11.4.
 @item
 This function does not support the @samp{a} and @samp{A} directives on some
 platforms:
@@ -45,7 +45,7 @@
 @item
 printf @code{"%010f"} of NaN and Infinity yields an incorrect result (padded
 with zeroes, or wrong capitalization) on some platforms:
-Solaris 11.4.
+AIX 7.3, Solaris 11.4.
 @item
 printf @code{"%#.0x"} or @code{"%#.0X"} with a zero argument yields an
 incorrect result (non-empty) on some platforms:
diff --git a/doc/posix-functions/fprintf.texi b/doc/posix-functions/fprintf.texi
index 36fafeea2f..1e4ba02ffb 100644
--- a/doc/posix-functions/fprintf.texi
+++ b/doc/posix-functions/fprintf.texi
@@ -24,7 +24,7 @@
 @item
 printf @code{"%f"}, @code{"%e"}, @code{"%g"} of Infinity and NaN yields an
 incorrect result on some platforms:
-AIX 5.2, Solaris 11.4, mingw, MSVC 14.
+AIX 7.3, Solaris 11.4, mingw, MSVC 14.
 @item
 This function does not support the @samp{a} and @samp{A} directives on some
 platforms:
@@ -60,7 +60,7 @@
 @item
 printf @code{"%010f"} of NaN and Infinity yields an incorrect result (padded
 with zeroes, or wrong capitalization) on some platforms:
-Mac OS X 10.5, FreeBSD 6.0, NetBSD 5.0, AIX 5.2, Solaris 11.4, Cygwin 1.5.x, mingw, MSVC/clang.
+Mac OS X 10.5, FreeBSD 6.0, NetBSD 5.0, AIX 7.3, Solaris 11.4, Cygwin 1.5.x, mingw, MSVC/clang.
 @item
 printf @code{"%#.0x"} or @code{"%#.0X"} with a zero argument yields an
 incorrect result (non-empty) on some platforms:
diff --git a/doc/posix-functions/printf.texi b/doc/posix-functions/printf.texi
index 55d4291a58..bbb881dc8e 100644
--- a/doc/posix-functions/printf.texi
+++ b/doc/posix-functions/printf.texi
@@ -24,7 +24,7 @@
 @item
 printf @code{"%f"}, @code{"%e"}, @code{"%g"} of Infinity and NaN yields an
 incorrect result on some platforms:
-AIX 5.2, Solaris 11.4, mingw, MSVC 14.
+AIX 7.3, Solaris 11.4, mingw, MSVC 14.
 @item
 This function does not support the @samp{a} and @samp{A} directives on some
 platforms:
@@ -60,7 +60,7 @@
 @item
 printf @code{"%010f"} of NaN and Infinity yields an incorrect result (padded
 with zeroes, or wrong capitalization) on some platforms:
-Mac OS X 10.5, FreeBSD 6.0, NetBSD 5.0, AIX 5.2, Solaris 11.4, Cygwin 1.5.x, mingw, MSVC/clang.
+Mac OS X 10.5, FreeBSD 6.0, NetBSD 5.0, AIX 7.3, Solaris 11.4, Cygwin 1.5.x, mingw, MSVC/clang.
 @item
 printf @code{"%#.0x"} or @code{"%#.0X"} with a zero argument yields an
 incorrect result (non-empty) on some platforms:
diff --git a/doc/posix-functions/snprintf.texi b/doc/posix-functions/snprintf.texi
index c954261289..6592192852 100644
--- a/doc/posix-functions/snprintf.texi
+++ b/doc/posix-functions/snprintf.texi
@@ -39,7 +39,7 @@
 @item
 printf @code{"%f"}, @code{"%e"}, @code{"%g"} of Infinity and NaN yields an
 incorrect result on some platforms:
-AIX 5.2, Solaris 11.4, mingw, MSVC 14.
+AIX 7.3, Solaris 11.4, mingw, MSVC 14.
 @item
 This function does not support the @samp{a} and @samp{A} directives on some
 platforms:
@@ -71,7 +71,7 @@
 @item
 printf @code{"%010f"} of NaN and Infinity yields an incorrect result (padded
 with zeroes, or wrong capitalization) on some platforms:
-Mac OS X 10.5, FreeBSD 6.0, NetBSD 5.0, AIX 5.2, Solaris 11.4, Cygwin 1.5.x, mingw, MSVC/clang.
+Mac OS X 10.5, FreeBSD 6.0, NetBSD 5.0, AIX 7.3, Solaris 11.4, Cygwin 1.5.x, mingw, MSVC/clang.
 @item
 printf @code{"%#.0x"} or @code{"%#.0X"} with a zero argument yields an
 incorrect result (non-empty) on some platforms:
diff --git a/doc/posix-functions/sprintf.texi b/doc/posix-functions/sprintf.texi
index 05bfccb771..21a8e1b983 100644
--- a/doc/posix-functions/sprintf.texi
+++ b/doc/posix-functions/sprintf.texi
@@ -24,7 +24,7 @@
 @item
 printf @code{"%f"}, @code{"%e"}, @code{"%g"} of Infinity and NaN yields an
 incorrect result on some platforms:
-AIX 5.2, Solaris 11.4, mingw, MSVC 14.
+AIX 7.3, Solaris 11.4, mingw, MSVC 14.
 @item
 This function does not support the @samp{a} and @samp{A} directives on some
 platforms:
@@ -60,7 +60,7 @@
 @item
 printf @code{"%010f"} of NaN and Infinity yields an incorrect result (padded
 with zeroes, or wrong capitalization) on some platforms:
-Mac OS X 10.5, FreeBSD 6.0, NetBSD 5.0, AIX 5.2, Solaris 11.4, Cygwin 1.5.x, mingw, MSVC/clang.
+Mac OS X 10.5, FreeBSD 6.0, NetBSD 5.0, AIX 7.3, Solaris 11.4, Cygwin 1.5.x, mingw, MSVC/clang.
 @item
 printf @code{"%#.0x"} or @code{"%#.0X"} with a zero argument yields an
 incorrect result (non-empty) on some platforms:
diff --git a/doc/posix-functions/vdprintf.texi b/doc/posix-functions/vdprintf.texi
index 9c12b75584..a88cf7f8e9 100644
--- a/doc/posix-functions/vdprintf.texi
+++ b/doc/posix-functions/vdprintf.texi
@@ -24,7 +24,7 @@
 @item
 printf @code{"%f"}, @code{"%e"}, @code{"%g"} of Infinity and NaN yields an
 incorrect result on some platforms:
-Solaris 11.4.
+AIX 7.3, Solaris 11.4.
 @item
 This function does not support the @samp{a} and @samp{A} directives on some
 platforms:
@@ -45,7 +45,7 @@
 @item
 printf @code{"%010f"} of NaN and Infinity yields an incorrect result (padded
 with zeroes, or wrong capitalization) on some platforms:
-Solaris 11.4.
+AIX 7.3, Solaris 11.4.
 @item
 printf @code{"%#.0x"} or @code{"%#.0X"} with a zero argument yields an
 incorrect result (non-empty) on some platforms:
diff --git a/doc/posix-functions/vfprintf.texi b/doc/posix-functions/vfprintf.texi
index f4f4a96bcd..3ff8a56c60 100644
--- a/doc/posix-functions/vfprintf.texi
+++ b/doc/posix-functions/vfprintf.texi
@@ -24,7 +24,7 @@
 @item
 printf @code{"%f"}, @code{"%e"}, @code{"%g"} of Infinity and NaN yields an
 incorrect result on some platforms:
-AIX 5.2, Solaris 11.4, mingw, MSVC 14.
+AIX 7.3, Solaris 11.4, mingw, MSVC 14.
 @item
 This function does not support the @samp{a} and @samp{A} directives on some
 platforms:
@@ -60,7 +60,7 @@
 @item
 printf @code{"%010f"} of NaN and Infinity yields an incorrect result (padded
 with zeroes, or wrong capitalization) on some platforms:
-Mac OS X 10.5, FreeBSD 6.0, NetBSD 5.0, AIX 5.2, Solaris 11.4, Cygwin 1.5.x, mingw, MSVC/clang.
+Mac OS X 10.5, FreeBSD 6.0, NetBSD 5.0, AIX 7.3, Solaris 11.4, Cygwin 1.5.x, mingw, MSVC/clang.
 @item
 printf @code{"%#.0x"} or @code{"%#.0X"} with a zero argument yields an
 incorrect result (non-empty) on some platforms:
diff --git a/doc/posix-functions/vprintf.texi b/doc/posix-functions/vprintf.texi
index 5dc013e895..746a70480c 100644
--- a/doc/posix-functions/vprintf.texi
+++ b/doc/posix-functions/vprintf.texi
@@ -24,7 +24,7 @@
 @item
 printf @code{"%f"}, @code{"%e"}, @code{"%g"} of Infinity and NaN yields an
 incorrect result on some platforms:
-AIX 5.2, Solaris 11.4, mingw, MSVC 14.
+AIX 7.3, Solaris 11.4, mingw, MSVC 14.
 @item
 This function does not support the @samp{a} and @samp{A} directives on some
 platforms:
@@ -60,7 +60,7 @@
 @item
 printf @code{"%010f"} of NaN and Infinity yields an incorrect result (padded
 with zeroes, or wrong capitalization) on some platforms:
-Mac OS X 10.5, FreeBSD 6.0, NetBSD 5.0, AIX 5.2, Solaris 11.4, Cygwin 1.5.x, mingw, MSVC/clang.
+Mac OS X 10.5, FreeBSD 6.0, NetBSD 5.0, AIX 7.3, Solaris 11.4, Cygwin 1.5.x, mingw, MSVC/clang.
 @item
 printf @code{"%#.0x"} or @code{"%#.0X"} with a zero argument yields an
 incorrect result (non-empty) on some platforms:
diff --git a/doc/posix-functions/vsnprintf.texi b/doc/posix-functions/vsnprintf.texi
index d470d27105..83b97745e9 100644
--- a/doc/posix-functions/vsnprintf.texi
+++ b/doc/posix-functions/vsnprintf.texi
@@ -36,7 +36,7 @@
 @item
 printf @code{"%f"}, @code{"%e"}, @code{"%g"} of Infinity and NaN yields an
 incorrect result on some platforms:
-AIX 5.2, Solaris 11.4, mingw, MSVC 14.
+AIX 7.3, Solaris 11.4, mingw, MSVC 14.
 @item
 This function does not support the @samp{a} and @samp{A} directives on some
 platforms:
@@ -68,7 +68,7 @@
 @item
 printf @code{"%010f"} of NaN and Infinity yields an incorrect result (padded
 with zeroes, or wrong capitalization) on some platforms:
-Mac OS X 10.5, FreeBSD 6.0, NetBSD 5.0, AIX 5.2, Solaris 11.4, Cygwin 1.5.x, mingw, MSVC/clang.
+Mac OS X 10.5, FreeBSD 6.0, NetBSD 5.0, AIX 7.3, Solaris 11.4, Cygwin 1.5.x, mingw, MSVC/clang.
 @item
 printf @code{"%#.0x"} or @code{"%#.0X"} with a zero argument yields an
 incorrect result (non-empty) on some platforms:
diff --git a/doc/posix-functions/vsprintf.texi b/doc/posix-functions/vsprintf.texi
index a1e8db5e16..9e0695f2c1 100644
--- a/doc/posix-functions/vsprintf.texi
+++ b/doc/posix-functions/vsprintf.texi
@@ -24,7 +24,7 @@
 @item
 printf @code{"%f"}, @code{"%e"}, @code{"%g"} of Infinity and NaN yields an
 incorrect result on some platforms:
-AIX 5.2, Solaris 11.4, mingw, MSVC 14.
+AIX 7.3, Solaris 11.4, mingw, MSVC 14.
 @item
 This function does not support the @samp{a} and @samp{A} directives on some
 platforms:
@@ -60,7 +60,7 @@
 @item
 printf @code{"%010f"} of NaN and Infinity yields an incorrect result (padded
 with zeroes, or wrong capitalization) on some platforms:
-Mac OS X 10.5, FreeBSD 6.0, NetBSD 5.0, AIX 5.2, Solaris 11.4, Cygwin 1.5.x, mingw, MSVC/clang.
+Mac OS X 10.5, FreeBSD 6.0, NetBSD 5.0, AIX 7.3, Solaris 11.4, Cygwin 1.5.x, mingw, MSVC/clang.
 @item
 printf @code{"%#.0x"} or @code{"%#.0X"} with a zero argument yields an
 incorrect result (non-empty) on some platforms:
-- 
2.34.1

>From d185bb2895db2b9260734f033fdea27a21703b9f Mon Sep 17 00:00:00 2001
From: Bruno Haible <br...@clisp.org>
Date: Mon, 24 Jun 2024 20:04:20 +0200
Subject: [PATCH 4/6] doc: Update info about *printf.

* doc/*-functions/*printf.texi: Update info regarding %b directive.
---
 ChangeLog                                | 5 +++++
 doc/glibc-functions/asprintf.texi        | 4 ++--
 doc/glibc-functions/obstack_printf.texi  | 4 ++--
 doc/glibc-functions/obstack_vprintf.texi | 4 ++--
 doc/glibc-functions/vasprintf.texi       | 4 ++--
 doc/posix-functions/dprintf.texi         | 4 ++--
 doc/posix-functions/fprintf.texi         | 4 ++--
 doc/posix-functions/fwprintf.texi        | 4 ++--
 doc/posix-functions/printf.texi          | 4 ++--
 doc/posix-functions/snprintf.texi        | 4 ++--
 doc/posix-functions/sprintf.texi         | 4 ++--
 doc/posix-functions/swprintf.texi        | 4 ++--
 doc/posix-functions/vdprintf.texi        | 4 ++--
 doc/posix-functions/vfprintf.texi        | 4 ++--
 doc/posix-functions/vfwprintf.texi       | 4 ++--
 doc/posix-functions/vprintf.texi         | 4 ++--
 doc/posix-functions/vsnprintf.texi       | 4 ++--
 doc/posix-functions/vsprintf.texi        | 4 ++--
 doc/posix-functions/vswprintf.texi       | 4 ++--
 doc/posix-functions/vwprintf.texi        | 4 ++--
 doc/posix-functions/wprintf.texi         | 4 ++--
 21 files changed, 45 insertions(+), 40 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index e48ae36e2f..c76a5ec301 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2024-06-24  Bruno Haible  <br...@clisp.org>
+
+	doc: Update info about *printf.
+	* doc/*-functions/*printf.texi: Update info regarding %b directive.
+
 2024-06-24  Bruno Haible  <br...@clisp.org>
 
 	doc: Update info about *printf.
diff --git a/doc/glibc-functions/asprintf.texi b/doc/glibc-functions/asprintf.texi
index 96eb638eb7..751d211c47 100644
--- a/doc/glibc-functions/asprintf.texi
+++ b/doc/glibc-functions/asprintf.texi
@@ -43,8 +43,8 @@
 @item
 This function does not support the @samp{b} directive, required by ISO C23,
 on some platforms:
-glibc 2.34, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.2,
-AIX 7.2, Solaris 11.4, Cygwin 2.9.0.
+glibc 2.34, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.5,
+AIX 7.3, HP-UX 11, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC 14, Android 9.0.
 @item
 This function does not support the @samp{F} directive on some platforms:
 NetBSD 3.0, Cygwin 1.5.x.
diff --git a/doc/glibc-functions/obstack_printf.texi b/doc/glibc-functions/obstack_printf.texi
index 591968018f..4de8b814ac 100644
--- a/doc/glibc-functions/obstack_printf.texi
+++ b/doc/glibc-functions/obstack_printf.texi
@@ -41,8 +41,8 @@
 @item
 This function does not support the @samp{b} directive, required by ISO C23,
 on some platforms:
-glibc 2.34, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.2,
-AIX 7.2, HP-UX 11, Solaris 11.4, Cygwin 2.9.0, mingw, MSVC 14.
+glibc 2.34, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.5,
+AIX 7.3, HP-UX 11, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC 14, Android 9.0.
 @item
 This function does not support the @samp{F} directive on some platforms:
 NetBSD 3.0, AIX 5.1, HP-UX 11.23, Solaris 9,
diff --git a/doc/glibc-functions/obstack_vprintf.texi b/doc/glibc-functions/obstack_vprintf.texi
index cb9d1c9a0f..933fb06b04 100644
--- a/doc/glibc-functions/obstack_vprintf.texi
+++ b/doc/glibc-functions/obstack_vprintf.texi
@@ -41,8 +41,8 @@
 @item
 This function does not support the @samp{b} directive, required by ISO C23,
 on some platforms:
-glibc 2.34, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.2,
-AIX 7.2, HP-UX 11, Solaris 11.4, Cygwin 2.9.0, mingw, MSVC 14.
+glibc 2.34, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.5,
+AIX 7.3, HP-UX 11, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC 14, Android 9.0.
 @item
 This function does not support the @samp{F} directive on some platforms:
 NetBSD 3.0, AIX 5.1, HP-UX 11.23, Solaris 9,
diff --git a/doc/glibc-functions/vasprintf.texi b/doc/glibc-functions/vasprintf.texi
index 90468e2eec..eb011ffb50 100644
--- a/doc/glibc-functions/vasprintf.texi
+++ b/doc/glibc-functions/vasprintf.texi
@@ -43,8 +43,8 @@
 @item
 This function does not support the @samp{b} directive, required by ISO C23,
 on some platforms:
-glibc 2.34, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.2,
-AIX 7.2, Solaris 11.4, Cygwin 2.9.0.
+glibc 2.34, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.5,
+AIX 7.3, HP-UX 11, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC 14, Android 9.0.
 @item
 This function does not support the @samp{F} directive on some platforms:
 NetBSD 3.0, Cygwin 1.5.x.
diff --git a/doc/posix-functions/dprintf.texi b/doc/posix-functions/dprintf.texi
index 3150537ff8..21459c2fb8 100644
--- a/doc/posix-functions/dprintf.texi
+++ b/doc/posix-functions/dprintf.texi
@@ -32,8 +32,8 @@
 @item
 This function does not support the @samp{b} directive, required by ISO C23,
 on some platforms:
-glibc 2.34, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.2,
-AIX 7.2, Solaris 11.4, Cygwin 2.9.0.
+glibc 2.34, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.5,
+AIX 7.3, HP-UX 11, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC 14, Android 9.0.
 @item
 This function does not support precisions in the @samp{ls} directive correctly
 on some platforms:
diff --git a/doc/posix-functions/fprintf.texi b/doc/posix-functions/fprintf.texi
index 1e4ba02ffb..6a19891e68 100644
--- a/doc/posix-functions/fprintf.texi
+++ b/doc/posix-functions/fprintf.texi
@@ -33,8 +33,8 @@
 @item
 This function does not support the @samp{b} directive, required by ISO C23,
 on some platforms:
-glibc 2.34, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.2,
-AIX 7.2, HP-UX 11, Solaris 11.4, Cygwin 2.9.0, mingw, MSVC 14.
+glibc 2.34, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.5,
+AIX 7.3, HP-UX 11, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC 14, Android 9.0.
 @item
 This function does not support the @samp{F} directive on some platforms:
 NetBSD 3.0, AIX 5.1, HP-UX 11.23, Solaris 9,
diff --git a/doc/posix-functions/fwprintf.texi b/doc/posix-functions/fwprintf.texi
index 7a910c60aa..4be29ad317 100644
--- a/doc/posix-functions/fwprintf.texi
+++ b/doc/posix-functions/fwprintf.texi
@@ -27,8 +27,8 @@
 @item
 This function does not support the @samp{b} directive, required by ISO C23,
 on some platforms:
-glibc 2.34, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.2,
-AIX 7.2, HP-UX 11, Solaris 11.4, Cygwin 2.9.0, mingw, MSVC 14.
+glibc 2.34, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.5,
+AIX 7.3, HP-UX 11, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC 14, Android 9.0.
 @item
 printf @code{"%#.0x"} or @code{"%#.0X"} with a zero argument yields an
 incorrect result (non-empty) on some platforms:
diff --git a/doc/posix-functions/printf.texi b/doc/posix-functions/printf.texi
index bbb881dc8e..3e89d538e9 100644
--- a/doc/posix-functions/printf.texi
+++ b/doc/posix-functions/printf.texi
@@ -33,8 +33,8 @@
 @item
 This function does not support the @samp{b} directive, required by ISO C23,
 on some platforms:
-glibc 2.34, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.2,
-AIX 7.2, HP-UX 11, Solaris 11.4, Cygwin 2.9.0, mingw, MSVC 14.
+glibc 2.34, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.5,
+AIX 7.3, HP-UX 11, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC 14, Android 9.0.
 @item
 This function does not support the @samp{F} directive on some platforms:
 NetBSD 3.0, AIX 5.1, HP-UX 11.23, Solaris 9,
diff --git a/doc/posix-functions/snprintf.texi b/doc/posix-functions/snprintf.texi
index 6592192852..b21d1d3b9f 100644
--- a/doc/posix-functions/snprintf.texi
+++ b/doc/posix-functions/snprintf.texi
@@ -48,8 +48,8 @@
 @item
 This function does not support the @samp{b} directive, required by ISO C23,
 on some platforms:
-glibc 2.34, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.2,
-AIX 7.2, HP-UX 11, Solaris 11.4, Cygwin 2.9.0, mingw, MSVC 14.
+glibc 2.34, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.5,
+AIX 7.3, HP-UX 11, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC 14, Android 9.0.
 @item
 This function does not support the @samp{F} directive on some platforms:
 NetBSD 3.0, AIX 5.1, HP-UX 11.23, Solaris 9,
diff --git a/doc/posix-functions/sprintf.texi b/doc/posix-functions/sprintf.texi
index 21a8e1b983..689bd8fc2d 100644
--- a/doc/posix-functions/sprintf.texi
+++ b/doc/posix-functions/sprintf.texi
@@ -33,8 +33,8 @@
 @item
 This function does not support the @samp{b} directive, required by ISO C23,
 on some platforms:
-glibc 2.34, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.2,
-AIX 7.2, HP-UX 11, Solaris 11.4, Cygwin 2.9.0, mingw, MSVC 14.
+glibc 2.34, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.5,
+AIX 7.3, HP-UX 11, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC 14, Android 9.0.
 @item
 This function does not support the @samp{F} directive on some platforms:
 NetBSD 3.0, AIX 5.1, HP-UX 11.23, Solaris 9,
diff --git a/doc/posix-functions/swprintf.texi b/doc/posix-functions/swprintf.texi
index 024a498f08..b7bba9751e 100644
--- a/doc/posix-functions/swprintf.texi
+++ b/doc/posix-functions/swprintf.texi
@@ -63,8 +63,8 @@
 @item
 This function does not support the @samp{b} directive, required by ISO C23,
 on some platforms:
-glibc 2.34, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.2,
-AIX 7.2, HP-UX 11, Solaris 11.4, Cygwin 2.9.0, mingw, MSVC 14.
+glibc 2.34, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.5,
+AIX 7.3, HP-UX 11, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC 14, Android 9.0.
 @item
 printf @code{"%#.0x"} or @code{"%#.0X"} with a zero argument yields an
 incorrect result (non-empty) on some platforms:
diff --git a/doc/posix-functions/vdprintf.texi b/doc/posix-functions/vdprintf.texi
index a88cf7f8e9..7199e793b7 100644
--- a/doc/posix-functions/vdprintf.texi
+++ b/doc/posix-functions/vdprintf.texi
@@ -32,8 +32,8 @@
 @item
 This function does not support the @samp{b} directive, required by ISO C23,
 on some platforms:
-glibc 2.34, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.2,
-AIX 7.2, Solaris 11.4, Cygwin 2.9.0.
+glibc 2.34, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.5,
+AIX 7.3, HP-UX 11, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC 14, Android 9.0.
 @item
 This function does not support precisions in the @samp{ls} directive correctly
 on some platforms:
diff --git a/doc/posix-functions/vfprintf.texi b/doc/posix-functions/vfprintf.texi
index 3ff8a56c60..607cdf707f 100644
--- a/doc/posix-functions/vfprintf.texi
+++ b/doc/posix-functions/vfprintf.texi
@@ -33,8 +33,8 @@
 @item
 This function does not support the @samp{b} directive, required by ISO C23,
 on some platforms:
-glibc 2.34, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.2,
-AIX 7.2, HP-UX 11, Solaris 11.4, Cygwin 2.9.0, mingw, MSVC 14.
+glibc 2.34, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.5,
+AIX 7.3, HP-UX 11, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC 14, Android 9.0.
 @item
 This function does not support the @samp{F} directive on some platforms:
 NetBSD 3.0, AIX 5.1, HP-UX 11.23, Solaris 9,
diff --git a/doc/posix-functions/vfwprintf.texi b/doc/posix-functions/vfwprintf.texi
index a25e1eb76d..bc8c5fcfbe 100644
--- a/doc/posix-functions/vfwprintf.texi
+++ b/doc/posix-functions/vfwprintf.texi
@@ -27,8 +27,8 @@
 @item
 This function does not support the @samp{b} directive, required by ISO C23,
 on some platforms:
-glibc 2.34, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.2,
-AIX 7.2, HP-UX 11, Solaris 11.4, Cygwin 2.9.0, mingw, MSVC 14.
+glibc 2.34, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.5,
+AIX 7.3, HP-UX 11, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC 14, Android 9.0.
 @item
 printf @code{"%#.0x"} or @code{"%#.0X"} with a zero argument yields an
 incorrect result (non-empty) on some platforms:
diff --git a/doc/posix-functions/vprintf.texi b/doc/posix-functions/vprintf.texi
index 746a70480c..8a283c8d1e 100644
--- a/doc/posix-functions/vprintf.texi
+++ b/doc/posix-functions/vprintf.texi
@@ -33,8 +33,8 @@
 @item
 This function does not support the @samp{b} directive, required by ISO C23,
 on some platforms:
-glibc 2.34, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.2,
-AIX 7.2, HP-UX 11, Solaris 11.4, Cygwin 2.9.0, mingw, MSVC 14.
+glibc 2.34, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.5,
+AIX 7.3, HP-UX 11, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC 14, Android 9.0.
 @item
 This function does not support the @samp{F} directive on some platforms:
 NetBSD 3.0, AIX 5.1, HP-UX 11.23, Solaris 9,
diff --git a/doc/posix-functions/vsnprintf.texi b/doc/posix-functions/vsnprintf.texi
index 83b97745e9..394661194a 100644
--- a/doc/posix-functions/vsnprintf.texi
+++ b/doc/posix-functions/vsnprintf.texi
@@ -45,8 +45,8 @@
 @item
 This function does not support the @samp{b} directive, required by ISO C23,
 on some platforms:
-glibc 2.34, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.2,
-AIX 7.2, HP-UX 11, Solaris 11.4, Cygwin 2.9.0, mingw, MSVC 14.
+glibc 2.34, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.5,
+AIX 7.3, HP-UX 11, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC 14, Android 9.0.
 @item
 This function does not support the @samp{F} directive on some platforms:
 NetBSD 3.0, AIX 5.1, HP-UX 11.23, Solaris 9,
diff --git a/doc/posix-functions/vsprintf.texi b/doc/posix-functions/vsprintf.texi
index 9e0695f2c1..a9131ceaff 100644
--- a/doc/posix-functions/vsprintf.texi
+++ b/doc/posix-functions/vsprintf.texi
@@ -33,8 +33,8 @@
 @item
 This function does not support the @samp{b} directive, required by ISO C23,
 on some platforms:
-glibc 2.34, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.2,
-AIX 7.2, HP-UX 11, Solaris 11.4, Cygwin 2.9.0, mingw, MSVC 14.
+glibc 2.34, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.5,
+AIX 7.3, HP-UX 11, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC 14, Android 9.0.
 @item
 This function does not support the @samp{F} directive on some platforms:
 NetBSD 3.0, AIX 5.1, HP-UX 11.23, Solaris 9,
diff --git a/doc/posix-functions/vswprintf.texi b/doc/posix-functions/vswprintf.texi
index 03ac107358..fd7675bb85 100644
--- a/doc/posix-functions/vswprintf.texi
+++ b/doc/posix-functions/vswprintf.texi
@@ -29,8 +29,8 @@
 @item
 This function does not support the @samp{b} directive, required by ISO C23,
 on some platforms:
-glibc 2.34, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.2,
-AIX 7.2, HP-UX 11, Solaris 11.4, Cygwin 2.9.0, mingw, MSVC 14.
+glibc 2.34, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.5,
+AIX 7.3, HP-UX 11, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC 14, Android 9.0.
 @item
 printf @code{"%#.0x"} or @code{"%#.0X"} with a zero argument yields an
 incorrect result (non-empty) on some platforms:
diff --git a/doc/posix-functions/vwprintf.texi b/doc/posix-functions/vwprintf.texi
index 64d4ec5c86..565a668da1 100644
--- a/doc/posix-functions/vwprintf.texi
+++ b/doc/posix-functions/vwprintf.texi
@@ -30,8 +30,8 @@
 @item
 This function does not support the @samp{b} directive, required by ISO C23,
 on some platforms:
-glibc 2.34, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.2,
-AIX 7.2, HP-UX 11, Solaris 11.4, Cygwin 2.9.0, mingw, MSVC 14.
+glibc 2.34, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.5,
+AIX 7.3, HP-UX 11, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC 14, Android 9.0.
 @item
 printf @code{"%#.0x"} or @code{"%#.0X"} with a zero argument yields an
 incorrect result (non-empty) on some platforms:
diff --git a/doc/posix-functions/wprintf.texi b/doc/posix-functions/wprintf.texi
index 8a3e161456..1cd2b728f2 100644
--- a/doc/posix-functions/wprintf.texi
+++ b/doc/posix-functions/wprintf.texi
@@ -30,8 +30,8 @@
 @item
 This function does not support the @samp{b} directive, required by ISO C23,
 on some platforms:
-glibc 2.34, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.2,
-AIX 7.2, HP-UX 11, Solaris 11.4, Cygwin 2.9.0, mingw, MSVC 14.
+glibc 2.34, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.5,
+AIX 7.3, HP-UX 11, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC 14, Android 9.0.
 @item
 printf @code{"%#.0x"} or @code{"%#.0X"} with a zero argument yields an
 incorrect result (non-empty) on some platforms:
-- 
2.34.1

>From 28b1742cfbf6e28ebc439357a70cf1cb986e6622 Mon Sep 17 00:00:00 2001
From: Bruno Haible <br...@clisp.org>
Date: Mon, 24 Jun 2024 20:04:54 +0200
Subject: [PATCH 5/6] doc: Update info about *printf.

* doc/*-functions/*printf.texi: Update info regarding %B directive.
---
 ChangeLog                                | 5 +++++
 doc/glibc-functions/asprintf.texi        | 2 +-
 doc/glibc-functions/obstack_printf.texi  | 2 +-
 doc/glibc-functions/obstack_vprintf.texi | 2 +-
 doc/glibc-functions/vasprintf.texi       | 2 +-
 doc/posix-functions/dprintf.texi         | 2 +-
 doc/posix-functions/fprintf.texi         | 2 +-
 doc/posix-functions/fwprintf.texi        | 3 +++
 doc/posix-functions/printf.texi          | 2 +-
 doc/posix-functions/snprintf.texi        | 2 +-
 doc/posix-functions/sprintf.texi         | 2 +-
 doc/posix-functions/swprintf.texi        | 3 +++
 doc/posix-functions/vdprintf.texi        | 2 +-
 doc/posix-functions/vfprintf.texi        | 2 +-
 doc/posix-functions/vfwprintf.texi       | 3 +++
 doc/posix-functions/vprintf.texi         | 2 +-
 doc/posix-functions/vsnprintf.texi       | 2 +-
 doc/posix-functions/vsprintf.texi        | 2 +-
 doc/posix-functions/vswprintf.texi       | 3 +++
 doc/posix-functions/vwprintf.texi        | 3 +++
 doc/posix-functions/wprintf.texi         | 3 +++
 21 files changed, 37 insertions(+), 14 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index c76a5ec301..6709a8c440 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2024-06-24  Bruno Haible  <br...@clisp.org>
+
+	doc: Update info about *printf.
+	* doc/*-functions/*printf.texi: Update info regarding %B directive.
+
 2024-06-24  Bruno Haible  <br...@clisp.org>
 
 	doc: Update info about *printf.
diff --git a/doc/glibc-functions/asprintf.texi b/doc/glibc-functions/asprintf.texi
index 751d211c47..a16154d2d5 100644
--- a/doc/glibc-functions/asprintf.texi
+++ b/doc/glibc-functions/asprintf.texi
@@ -87,7 +87,7 @@
 @itemize
 @item
 This function does not support the @samp{B} directive on some platforms:
-glibc 2.34, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.2, AIX 7.2, Solaris 11.4, and others.
+glibc 2.34, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.5, AIX 7.3, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC, Android 9.0.
 @end itemize
 
 Portability problems not fixed by Gnulib:
diff --git a/doc/glibc-functions/obstack_printf.texi b/doc/glibc-functions/obstack_printf.texi
index 4de8b814ac..01148e045c 100644
--- a/doc/glibc-functions/obstack_printf.texi
+++ b/doc/glibc-functions/obstack_printf.texi
@@ -90,7 +90,7 @@
 @itemize
 @item
 This function does not support the @samp{B} directive on some platforms:
-glibc 2.34, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.2, macOS 14, AIX 7.2, Solaris 11.4, and others.
+glibc 2.34, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.5, AIX 7.3, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC, Android 9.0.
 @end itemize
 
 Portability problems fixed by either Gnulib module @code{obstack-printf-posix} or @code{obstack-printf-gnu}
diff --git a/doc/glibc-functions/obstack_vprintf.texi b/doc/glibc-functions/obstack_vprintf.texi
index 933fb06b04..1917c7fe0f 100644
--- a/doc/glibc-functions/obstack_vprintf.texi
+++ b/doc/glibc-functions/obstack_vprintf.texi
@@ -90,7 +90,7 @@
 @itemize
 @item
 This function does not support the @samp{B} directive on some platforms:
-glibc 2.34, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.2, macOS 14, AIX 7.2, Solaris 11.4, and others.
+glibc 2.34, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.5, AIX 7.3, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC, Android 9.0.
 @end itemize
 
 Portability problems fixed by either Gnulib module @code{obstack-printf-posix} or @code{obstack-printf-gnu}
diff --git a/doc/glibc-functions/vasprintf.texi b/doc/glibc-functions/vasprintf.texi
index eb011ffb50..32f448195e 100644
--- a/doc/glibc-functions/vasprintf.texi
+++ b/doc/glibc-functions/vasprintf.texi
@@ -87,7 +87,7 @@
 @itemize
 @item
 This function does not support the @samp{B} directive on some platforms:
-glibc 2.34, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.2, AIX 7.2, Solaris 11.4, and others.
+glibc 2.34, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.5, AIX 7.3, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC, Android 9.0.
 @end itemize
 
 Portability problems not fixed by Gnulib:
diff --git a/doc/posix-functions/dprintf.texi b/doc/posix-functions/dprintf.texi
index 21459c2fb8..e0d5d95bcc 100644
--- a/doc/posix-functions/dprintf.texi
+++ b/doc/posix-functions/dprintf.texi
@@ -64,7 +64,7 @@
 @itemize
 @item
 This function does not support the @samp{B} directive on some platforms:
-glibc 2.34, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.2, AIX 7.2, Solaris 11.4, and others.
+glibc 2.34, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.5, AIX 7.3, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC, Android 9.0.
 @end itemize
 
 Portability problems fixed by either Gnulib module @code{dprintf-posix} or @code{dprintf-gnu}
diff --git a/doc/posix-functions/fprintf.texi b/doc/posix-functions/fprintf.texi
index 6a19891e68..42026dff97 100644
--- a/doc/posix-functions/fprintf.texi
+++ b/doc/posix-functions/fprintf.texi
@@ -87,7 +87,7 @@
 @itemize
 @item
 This function does not support the @samp{B} directive on some platforms:
-glibc 2.34, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.2, AIX 7.2, Solaris 11.4, and others.
+glibc 2.34, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.5, AIX 7.3, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC, Android 9.0.
 @end itemize
 
 Portability problems fixed by either Gnulib module @code{fprintf-posix} or @code{fprintf-gnu}
diff --git a/doc/posix-functions/fwprintf.texi b/doc/posix-functions/fwprintf.texi
index 4be29ad317..da458e48b6 100644
--- a/doc/posix-functions/fwprintf.texi
+++ b/doc/posix-functions/fwprintf.texi
@@ -30,6 +30,9 @@
 glibc 2.34, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.5,
 AIX 7.3, HP-UX 11, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC 14, Android 9.0.
 @item
+This function does not support the @samp{B} directive on some platforms:
+glibc 2.34, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.5, AIX 7.3, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC, Android 9.0.
+@item
 printf @code{"%#.0x"} or @code{"%#.0X"} with a zero argument yields an
 incorrect result (non-empty) on some platforms:
 Mac OS X 10.6.
diff --git a/doc/posix-functions/printf.texi b/doc/posix-functions/printf.texi
index 3e89d538e9..47c92c95c5 100644
--- a/doc/posix-functions/printf.texi
+++ b/doc/posix-functions/printf.texi
@@ -87,7 +87,7 @@
 @itemize
 @item
 This function does not support the @samp{B} directive on some platforms:
-glibc 2.34, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.2, AIX 7.2, Solaris 11.4, and others.
+glibc 2.34, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.5, AIX 7.3, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC, Android 9.0.
 @end itemize
 
 Portability problems fixed by either Gnulib module @code{printf-posix} or @code{printf-gnu}
diff --git a/doc/posix-functions/snprintf.texi b/doc/posix-functions/snprintf.texi
index b21d1d3b9f..c1ad749f6c 100644
--- a/doc/posix-functions/snprintf.texi
+++ b/doc/posix-functions/snprintf.texi
@@ -104,7 +104,7 @@
 @itemize
 @item
 This function does not support the @samp{B} directive on some platforms:
-glibc 2.34, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.2, AIX 7.2, Solaris 11.4, and others.
+glibc 2.34, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.5, AIX 7.3, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC, Android 9.0.
 @end itemize
 
 Portability problems fixed by either Gnulib module @code{snprintf-posix} or @code{snprintf-gnu}
diff --git a/doc/posix-functions/sprintf.texi b/doc/posix-functions/sprintf.texi
index 689bd8fc2d..1788bf3793 100644
--- a/doc/posix-functions/sprintf.texi
+++ b/doc/posix-functions/sprintf.texi
@@ -90,7 +90,7 @@
 @itemize
 @item
 This function does not support the @samp{B} directive on some platforms:
-glibc 2.34, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.2, AIX 7.2, Solaris 11.4, and others.
+glibc 2.34, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.5, AIX 7.3, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC, Android 9.0.
 @end itemize
 
 Portability problems fixed by either Gnulib module @code{sprintf-posix} or @code{sprintf-gnu}
diff --git a/doc/posix-functions/swprintf.texi b/doc/posix-functions/swprintf.texi
index b7bba9751e..b66cb42354 100644
--- a/doc/posix-functions/swprintf.texi
+++ b/doc/posix-functions/swprintf.texi
@@ -66,6 +66,9 @@
 glibc 2.34, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.5,
 AIX 7.3, HP-UX 11, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC 14, Android 9.0.
 @item
+This function does not support the @samp{B} directive on some platforms:
+glibc 2.34, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.5, AIX 7.3, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC, Android 9.0.
+@item
 printf @code{"%#.0x"} or @code{"%#.0X"} with a zero argument yields an
 incorrect result (non-empty) on some platforms:
 Mac OS X 10.6.
diff --git a/doc/posix-functions/vdprintf.texi b/doc/posix-functions/vdprintf.texi
index 7199e793b7..46d32fb768 100644
--- a/doc/posix-functions/vdprintf.texi
+++ b/doc/posix-functions/vdprintf.texi
@@ -64,7 +64,7 @@
 @itemize
 @item
 This function does not support the @samp{B} directive on some platforms:
-glibc 2.34, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.2, AIX 7.2, Solaris 11.4, and others.
+glibc 2.34, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.5, AIX 7.3, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC, Android 9.0.
 @end itemize
 
 Portability problems fixed by either Gnulib module @code{vdprintf-posix} or @code{vdprintf-gnu}
diff --git a/doc/posix-functions/vfprintf.texi b/doc/posix-functions/vfprintf.texi
index 607cdf707f..4ef2e668de 100644
--- a/doc/posix-functions/vfprintf.texi
+++ b/doc/posix-functions/vfprintf.texi
@@ -87,7 +87,7 @@
 @itemize
 @item
 This function does not support the @samp{B} directive on some platforms:
-glibc 2.34, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.2, AIX 7.2, Solaris 11.4, and others.
+glibc 2.34, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.5, AIX 7.3, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC, Android 9.0.
 @end itemize
 
 Portability problems fixed by either Gnulib module @code{vfprintf-posix} or @code{vfprintf-gnu}
diff --git a/doc/posix-functions/vfwprintf.texi b/doc/posix-functions/vfwprintf.texi
index bc8c5fcfbe..e717113f7e 100644
--- a/doc/posix-functions/vfwprintf.texi
+++ b/doc/posix-functions/vfwprintf.texi
@@ -30,6 +30,9 @@
 glibc 2.34, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.5,
 AIX 7.3, HP-UX 11, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC 14, Android 9.0.
 @item
+This function does not support the @samp{B} directive on some platforms:
+glibc 2.34, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.5, AIX 7.3, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC, Android 9.0.
+@item
 printf @code{"%#.0x"} or @code{"%#.0X"} with a zero argument yields an
 incorrect result (non-empty) on some platforms:
 Mac OS X 10.6.
diff --git a/doc/posix-functions/vprintf.texi b/doc/posix-functions/vprintf.texi
index 8a283c8d1e..1b2db634ac 100644
--- a/doc/posix-functions/vprintf.texi
+++ b/doc/posix-functions/vprintf.texi
@@ -87,7 +87,7 @@
 @itemize
 @item
 This function does not support the @samp{B} directive on some platforms:
-glibc 2.34, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.2, AIX 7.2, Solaris 11.4, and others.
+glibc 2.34, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.5, AIX 7.3, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC, Android 9.0.
 @end itemize
 
 Portability problems fixed by either Gnulib module @code{vprintf-posix} or @code{vprintf-gnu}
diff --git a/doc/posix-functions/vsnprintf.texi b/doc/posix-functions/vsnprintf.texi
index 394661194a..5a313e9b24 100644
--- a/doc/posix-functions/vsnprintf.texi
+++ b/doc/posix-functions/vsnprintf.texi
@@ -102,7 +102,7 @@
 @itemize
 @item
 This function does not support the @samp{B} directive on some platforms:
-glibc 2.34, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.2, AIX 7.2, Solaris 11.4, and others.
+glibc 2.34, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.5, AIX 7.3, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC, Android 9.0.
 @end itemize
 
 Portability problems fixed by either Gnulib module @code{vsnprintf-posix} or @code{vsnprintf-gnu}
diff --git a/doc/posix-functions/vsprintf.texi b/doc/posix-functions/vsprintf.texi
index a9131ceaff..78e1557d34 100644
--- a/doc/posix-functions/vsprintf.texi
+++ b/doc/posix-functions/vsprintf.texi
@@ -90,7 +90,7 @@
 @itemize
 @item
 This function does not support the @samp{B} directive on some platforms:
-glibc 2.34, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.2, AIX 7.2, Solaris 11.4, and others.
+glibc 2.34, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.5, AIX 7.3, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC, Android 9.0.
 @end itemize
 
 Portability problems fixed by either Gnulib module @code{vsprintf-posix} or @code{vsprintf-gnu}
diff --git a/doc/posix-functions/vswprintf.texi b/doc/posix-functions/vswprintf.texi
index fd7675bb85..dd41185007 100644
--- a/doc/posix-functions/vswprintf.texi
+++ b/doc/posix-functions/vswprintf.texi
@@ -32,6 +32,9 @@
 glibc 2.34, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.5,
 AIX 7.3, HP-UX 11, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC 14, Android 9.0.
 @item
+This function does not support the @samp{B} directive on some platforms:
+glibc 2.34, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.5, AIX 7.3, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC, Android 9.0.
+@item
 printf @code{"%#.0x"} or @code{"%#.0X"} with a zero argument yields an
 incorrect result (non-empty) on some platforms:
 Mac OS X 10.6.
diff --git a/doc/posix-functions/vwprintf.texi b/doc/posix-functions/vwprintf.texi
index 565a668da1..e4bf222fc1 100644
--- a/doc/posix-functions/vwprintf.texi
+++ b/doc/posix-functions/vwprintf.texi
@@ -33,6 +33,9 @@
 glibc 2.34, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.5,
 AIX 7.3, HP-UX 11, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC 14, Android 9.0.
 @item
+This function does not support the @samp{B} directive on some platforms:
+glibc 2.34, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.5, AIX 7.3, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC, Android 9.0.
+@item
 printf @code{"%#.0x"} or @code{"%#.0X"} with a zero argument yields an
 incorrect result (non-empty) on some platforms:
 Mac OS X 10.6.
diff --git a/doc/posix-functions/wprintf.texi b/doc/posix-functions/wprintf.texi
index 1cd2b728f2..db1092d712 100644
--- a/doc/posix-functions/wprintf.texi
+++ b/doc/posix-functions/wprintf.texi
@@ -33,6 +33,9 @@
 glibc 2.34, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.5,
 AIX 7.3, HP-UX 11, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC 14, Android 9.0.
 @item
+This function does not support the @samp{B} directive on some platforms:
+glibc 2.34, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.5, AIX 7.3, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC, Android 9.0.
+@item
 printf @code{"%#.0x"} or @code{"%#.0X"} with a zero argument yields an
 incorrect result (non-empty) on some platforms:
 Mac OS X 10.6.
-- 
2.34.1

>From e865239b562618fdfab8994e44b375308108e95b Mon Sep 17 00:00:00 2001
From: Bruno Haible <br...@clisp.org>
Date: Mon, 24 Jun 2024 20:05:28 +0200
Subject: [PATCH 6/6] doc: Update info about *printf.

* doc/*-functions/*printf.texi: Update info regarding size specifiers
w8, wf8, etc.
---
 ChangeLog                                | 6 ++++++
 doc/glibc-functions/asprintf.texi        | 5 +++++
 doc/glibc-functions/obstack_printf.texi  | 5 +++++
 doc/glibc-functions/obstack_vprintf.texi | 5 +++++
 doc/glibc-functions/vasprintf.texi       | 5 +++++
 doc/posix-functions/dprintf.texi         | 3 +--
 doc/posix-functions/fprintf.texi         | 3 +--
 doc/posix-functions/fwprintf.texi        | 3 +--
 doc/posix-functions/printf.texi          | 3 +--
 doc/posix-functions/snprintf.texi        | 3 +--
 doc/posix-functions/sprintf.texi         | 3 +--
 doc/posix-functions/swprintf.texi        | 3 +--
 doc/posix-functions/vdprintf.texi        | 3 +--
 doc/posix-functions/vfprintf.texi        | 3 +--
 doc/posix-functions/vfwprintf.texi       | 3 +--
 doc/posix-functions/vprintf.texi         | 3 +--
 doc/posix-functions/vsnprintf.texi       | 3 +--
 doc/posix-functions/vsprintf.texi        | 3 +--
 doc/posix-functions/vswprintf.texi       | 3 +--
 doc/posix-functions/vwprintf.texi        | 3 +--
 doc/posix-functions/wprintf.texi         | 3 +--
 21 files changed, 42 insertions(+), 32 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 6709a8c440..f67a9dac76 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2024-06-24  Bruno Haible  <br...@clisp.org>
+
+	doc: Update info about *printf.
+	* doc/*-functions/*printf.texi: Update info regarding size specifiers
+	w8, wf8, etc.
+
 2024-06-24  Bruno Haible  <br...@clisp.org>
 
 	doc: Update info about *printf.
diff --git a/doc/glibc-functions/asprintf.texi b/doc/glibc-functions/asprintf.texi
index a16154d2d5..fe0cb42062 100644
--- a/doc/glibc-functions/asprintf.texi
+++ b/doc/glibc-functions/asprintf.texi
@@ -33,6 +33,11 @@
 @code{j}, @code{t}, @code{z}) on some platforms:
 Cygwin 1.5.24.
 @item
+This function does not support size specifiers as in C23 (@code{w8},
+@code{w16}, @code{w32}, @code{w64}, @code{wf8}, @code{wf16}, @code{wf32},
+@code{wf64}) on some platforms:
+glibc 2.37, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.5, AIX 7.3, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC, Android 9.0.
+@item
 printf @code{"%f"}, @code{"%e"}, @code{"%g"} of Infinity and NaN yields an
 incorrect result on some platforms:
 AIX 7.3, Solaris 11.4.
diff --git a/doc/glibc-functions/obstack_printf.texi b/doc/glibc-functions/obstack_printf.texi
index 01148e045c..529febf8f3 100644
--- a/doc/glibc-functions/obstack_printf.texi
+++ b/doc/glibc-functions/obstack_printf.texi
@@ -27,6 +27,11 @@
 @code{j}, @code{t}, @code{z}) on some platforms:
 AIX 5.1, HP-UX 11.23, Solaris 9, Cygwin 1.5.24, old mingw, MSVC 9.
 @item
+This function does not support size specifiers as in C23 (@code{w8},
+@code{w16}, @code{w32}, @code{w64}, @code{wf8}, @code{wf16}, @code{wf32},
+@code{wf64}) on some platforms:
+glibc 2.37.
+@item
 printf of @samp{long double} numbers is unsupported on some platforms:
 mingw, MSVC 14.
 @item
diff --git a/doc/glibc-functions/obstack_vprintf.texi b/doc/glibc-functions/obstack_vprintf.texi
index 1917c7fe0f..1d6ca490a7 100644
--- a/doc/glibc-functions/obstack_vprintf.texi
+++ b/doc/glibc-functions/obstack_vprintf.texi
@@ -27,6 +27,11 @@
 @code{j}, @code{t}, @code{z}) on some platforms:
 AIX 5.1, HP-UX 11.23, Solaris 9, Cygwin 1.5.24, old mingw, MSVC 9.
 @item
+This function does not support size specifiers as in C23 (@code{w8},
+@code{w16}, @code{w32}, @code{w64}, @code{wf8}, @code{wf16}, @code{wf32},
+@code{wf64}) on some platforms:
+glibc 2.37.
+@item
 printf of @samp{long double} numbers is unsupported on some platforms:
 mingw, MSVC 14.
 @item
diff --git a/doc/glibc-functions/vasprintf.texi b/doc/glibc-functions/vasprintf.texi
index 32f448195e..116f87e13b 100644
--- a/doc/glibc-functions/vasprintf.texi
+++ b/doc/glibc-functions/vasprintf.texi
@@ -33,6 +33,11 @@
 @code{j}, @code{t}, @code{z}) on some platforms:
 Cygwin 1.5.24.
 @item
+This function does not support size specifiers as in C23 (@code{w8},
+@code{w16}, @code{w32}, @code{w64}, @code{wf8}, @code{wf16}, @code{wf32},
+@code{wf64}) on some platforms:
+glibc 2.37, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.5, AIX 7.3, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC, Android 9.0.
+@item
 printf @code{"%f"}, @code{"%e"}, @code{"%g"} of Infinity and NaN yields an
 incorrect result on some platforms:
 AIX 7.3, Solaris 11.4.
diff --git a/doc/posix-functions/dprintf.texi b/doc/posix-functions/dprintf.texi
index e0d5d95bcc..f7fccbb02b 100644
--- a/doc/posix-functions/dprintf.texi
+++ b/doc/posix-functions/dprintf.texi
@@ -19,8 +19,7 @@
 This function does not support size specifiers as in C23 (@code{w8},
 @code{w16}, @code{w32}, @code{w64}, @code{wf8}, @code{wf16}, @code{wf32},
 @code{wf64}) on some platforms:
-glibc 2.37, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.2,
-AIX 7.2, Solaris 11.4, Cygwin 2.9.0.
+glibc 2.37, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.5, AIX 7.3, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC, Android 9.0.
 @item
 printf @code{"%f"}, @code{"%e"}, @code{"%g"} of Infinity and NaN yields an
 incorrect result on some platforms:
diff --git a/doc/posix-functions/fprintf.texi b/doc/posix-functions/fprintf.texi
index 42026dff97..019d572cc7 100644
--- a/doc/posix-functions/fprintf.texi
+++ b/doc/posix-functions/fprintf.texi
@@ -16,8 +16,7 @@
 This function does not support size specifiers as in C23 (@code{w8},
 @code{w16}, @code{w32}, @code{w64}, @code{wf8}, @code{wf16}, @code{wf32},
 @code{wf64}) on some platforms:
-glibc 2.37, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.2,
-AIX 7.2, HP-UX 11, Solaris 11.4, Cygwin 2.9.0, mingw, MSVC 14.
+glibc 2.37, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.5, AIX 7.3, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC, Android 9.0.
 @item
 printf of @samp{long double} numbers is unsupported on some platforms:
 mingw, MSVC 14.
diff --git a/doc/posix-functions/fwprintf.texi b/doc/posix-functions/fwprintf.texi
index da458e48b6..678594bb60 100644
--- a/doc/posix-functions/fwprintf.texi
+++ b/doc/posix-functions/fwprintf.texi
@@ -22,8 +22,7 @@
 This function does not support size specifiers as in C23 (@code{w8},
 @code{w16}, @code{w32}, @code{w64}, @code{wf8}, @code{wf16}, @code{wf32},
 @code{wf64}) on some platforms:
-glibc 2.37, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.2,
-AIX 7.2, HP-UX 11, Solaris 11.4, Cygwin 2.9.0, mingw, MSVC 14.
+glibc 2.37, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.5, AIX 7.3, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC, Android 9.0.
 @item
 This function does not support the @samp{b} directive, required by ISO C23,
 on some platforms:
diff --git a/doc/posix-functions/printf.texi b/doc/posix-functions/printf.texi
index 47c92c95c5..3ccf202f03 100644
--- a/doc/posix-functions/printf.texi
+++ b/doc/posix-functions/printf.texi
@@ -16,8 +16,7 @@
 This function does not support size specifiers as in C23 (@code{w8},
 @code{w16}, @code{w32}, @code{w64}, @code{wf8}, @code{wf16}, @code{wf32},
 @code{wf64}) on some platforms:
-glibc 2.37, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.2,
-AIX 7.2, HP-UX 11, Solaris 11.4, Cygwin 2.9.0, mingw, MSVC 14.
+glibc 2.37, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.5, AIX 7.3, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC, Android 9.0.
 @item
 printf of @samp{long double} numbers is unsupported on some platforms:
 mingw, MSVC 14.
diff --git a/doc/posix-functions/snprintf.texi b/doc/posix-functions/snprintf.texi
index c1ad749f6c..1b2d8257b4 100644
--- a/doc/posix-functions/snprintf.texi
+++ b/doc/posix-functions/snprintf.texi
@@ -31,8 +31,7 @@
 This function does not support size specifiers as in C23 (@code{w8},
 @code{w16}, @code{w32}, @code{w64}, @code{wf8}, @code{wf16}, @code{wf32},
 @code{wf64}) on some platforms:
-glibc 2.37, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.2,
-AIX 7.2, HP-UX 11, Solaris 11.4, Cygwin 2.9.0, mingw.
+glibc 2.37, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.5, AIX 7.3, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC, Android 9.0.
 @item
 printf of @samp{long double} numbers is unsupported on some platforms:
 mingw, MSVC 14.
diff --git a/doc/posix-functions/sprintf.texi b/doc/posix-functions/sprintf.texi
index 1788bf3793..00d649ec59 100644
--- a/doc/posix-functions/sprintf.texi
+++ b/doc/posix-functions/sprintf.texi
@@ -16,8 +16,7 @@
 This function does not support size specifiers as in C23 (@code{w8},
 @code{w16}, @code{w32}, @code{w64}, @code{wf8}, @code{wf16}, @code{wf32},
 @code{wf64}) on some platforms:
-glibc 2.37, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.2,
-AIX 7.2, HP-UX 11, Solaris 11.4, Cygwin 2.9.0, mingw, MSVC 14.
+glibc 2.37, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.5, AIX 7.3, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC, Android 9.0.
 @item
 printf of @samp{long double} numbers is unsupported on some platforms:
 mingw, MSVC 14.
diff --git a/doc/posix-functions/swprintf.texi b/doc/posix-functions/swprintf.texi
index b66cb42354..2449473f7a 100644
--- a/doc/posix-functions/swprintf.texi
+++ b/doc/posix-functions/swprintf.texi
@@ -47,8 +47,7 @@
 This function does not support size specifiers as in C23 (@code{w8},
 @code{w16}, @code{w32}, @code{w64}, @code{wf8}, @code{wf16}, @code{wf32},
 @code{wf64}) on some platforms:
-glibc 2.37, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.2,
-AIX 7.2, HP-UX 11, Solaris 11.4, Cygwin 2.9.0, mingw, MSVC 14.
+glibc 2.37, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.5, AIX 7.3, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC, Android 9.0.
 @item
 This function ignores the minimum field width in the @samp{lc} directive
 on some platforms:
diff --git a/doc/posix-functions/vdprintf.texi b/doc/posix-functions/vdprintf.texi
index 46d32fb768..323dc6d429 100644
--- a/doc/posix-functions/vdprintf.texi
+++ b/doc/posix-functions/vdprintf.texi
@@ -19,8 +19,7 @@
 This function does not support size specifiers as in C23 (@code{w8},
 @code{w16}, @code{w32}, @code{w64}, @code{wf8}, @code{wf16}, @code{wf32},
 @code{wf64}) on some platforms:
-glibc 2.37, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.2,
-AIX 7.2, Solaris 11.4, Cygwin 2.9.0.
+glibc 2.37, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.5, AIX 7.3, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC, Android 9.0.
 @item
 printf @code{"%f"}, @code{"%e"}, @code{"%g"} of Infinity and NaN yields an
 incorrect result on some platforms:
diff --git a/doc/posix-functions/vfprintf.texi b/doc/posix-functions/vfprintf.texi
index 4ef2e668de..4c21be2f28 100644
--- a/doc/posix-functions/vfprintf.texi
+++ b/doc/posix-functions/vfprintf.texi
@@ -16,8 +16,7 @@
 This function does not support size specifiers as in C23 (@code{w8},
 @code{w16}, @code{w32}, @code{w64}, @code{wf8}, @code{wf16}, @code{wf32},
 @code{wf64}) on some platforms:
-glibc 2.37, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.2,
-AIX 7.2, HP-UX 11, Solaris 11.4, Cygwin 2.9.0, mingw, MSVC 14.
+glibc 2.37, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.5, AIX 7.3, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC, Android 9.0.
 @item
 printf of @samp{long double} numbers is unsupported on some platforms:
 mingw, MSVC 14.
diff --git a/doc/posix-functions/vfwprintf.texi b/doc/posix-functions/vfwprintf.texi
index e717113f7e..79128a67ff 100644
--- a/doc/posix-functions/vfwprintf.texi
+++ b/doc/posix-functions/vfwprintf.texi
@@ -22,8 +22,7 @@
 This function does not support size specifiers as in C23 (@code{w8},
 @code{w16}, @code{w32}, @code{w64}, @code{wf8}, @code{wf16}, @code{wf32},
 @code{wf64}) on some platforms:
-glibc 2.37, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.2,
-AIX 7.2, HP-UX 11, Solaris 11.4, Cygwin 2.9.0, mingw, MSVC 14.
+glibc 2.37, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.5, AIX 7.3, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC, Android 9.0.
 @item
 This function does not support the @samp{b} directive, required by ISO C23,
 on some platforms:
diff --git a/doc/posix-functions/vprintf.texi b/doc/posix-functions/vprintf.texi
index 1b2db634ac..75ba1e99cf 100644
--- a/doc/posix-functions/vprintf.texi
+++ b/doc/posix-functions/vprintf.texi
@@ -16,8 +16,7 @@
 This function does not support size specifiers as in C23 (@code{w8},
 @code{w16}, @code{w32}, @code{w64}, @code{wf8}, @code{wf16}, @code{wf32},
 @code{wf64}) on some platforms:
-glibc 2.37, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.2,
-AIX 7.2, HP-UX 11, Solaris 11.4, Cygwin 2.9.0, mingw, MSVC 14.
+glibc 2.37, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.5, AIX 7.3, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC, Android 9.0.
 @item
 printf of @samp{long double} numbers is unsupported on some platforms:
 mingw, MSVC 14.
diff --git a/doc/posix-functions/vsnprintf.texi b/doc/posix-functions/vsnprintf.texi
index 5a313e9b24..0d8edd64d4 100644
--- a/doc/posix-functions/vsnprintf.texi
+++ b/doc/posix-functions/vsnprintf.texi
@@ -28,8 +28,7 @@
 This function does not support size specifiers as in C23 (@code{w8},
 @code{w16}, @code{w32}, @code{w64}, @code{wf8}, @code{wf16}, @code{wf32},
 @code{wf64}) on some platforms:
-glibc 2.37, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.2,
-AIX 7.2, HP-UX 11, Solaris 11.4, Cygwin 2.9.0, mingw, MSVC 14.
+glibc 2.37, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.5, AIX 7.3, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC, Android 9.0.
 @item
 printf of @samp{long double} numbers is unsupported on some platforms:
 mingw, MSVC 14.
diff --git a/doc/posix-functions/vsprintf.texi b/doc/posix-functions/vsprintf.texi
index 78e1557d34..eea8f0d02c 100644
--- a/doc/posix-functions/vsprintf.texi
+++ b/doc/posix-functions/vsprintf.texi
@@ -16,8 +16,7 @@
 This function does not support size specifiers as in C23 (@code{w8},
 @code{w16}, @code{w32}, @code{w64}, @code{wf8}, @code{wf16}, @code{wf32},
 @code{wf64}) on some platforms:
-glibc 2.37, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.2,
-AIX 7.2, HP-UX 11, Solaris 11.4, Cygwin 2.9.0, mingw, MSVC 14.
+glibc 2.37, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.5, AIX 7.3, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC, Android 9.0.
 @item
 printf of @samp{long double} numbers is unsupported on some platforms:
 mingw, MSVC 14.
diff --git a/doc/posix-functions/vswprintf.texi b/doc/posix-functions/vswprintf.texi
index dd41185007..7e29716551 100644
--- a/doc/posix-functions/vswprintf.texi
+++ b/doc/posix-functions/vswprintf.texi
@@ -24,8 +24,7 @@
 This function does not support size specifiers as in C23 (@code{w8},
 @code{w16}, @code{w32}, @code{w64}, @code{wf8}, @code{wf16}, @code{wf32},
 @code{wf64}) on some platforms:
-glibc 2.37, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.2,
-AIX 7.2, HP-UX 11, Solaris 11.4, Cygwin 2.9.0, mingw, MSVC 14.
+glibc 2.37, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.5, AIX 7.3, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC, Android 9.0.
 @item
 This function does not support the @samp{b} directive, required by ISO C23,
 on some platforms:
diff --git a/doc/posix-functions/vwprintf.texi b/doc/posix-functions/vwprintf.texi
index e4bf222fc1..d45f5865fb 100644
--- a/doc/posix-functions/vwprintf.texi
+++ b/doc/posix-functions/vwprintf.texi
@@ -25,8 +25,7 @@
 This function does not support size specifiers as in C23 (@code{w8},
 @code{w16}, @code{w32}, @code{w64}, @code{wf8}, @code{wf16}, @code{wf32},
 @code{wf64}) on some platforms:
-glibc 2.37, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.2,
-AIX 7.2, HP-UX 11, Solaris 11.4, Cygwin 2.9.0, mingw, MSVC 14.
+glibc 2.37, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.5, AIX 7.3, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC, Android 9.0.
 @item
 This function does not support the @samp{b} directive, required by ISO C23,
 on some platforms:
diff --git a/doc/posix-functions/wprintf.texi b/doc/posix-functions/wprintf.texi
index db1092d712..9ca55005a7 100644
--- a/doc/posix-functions/wprintf.texi
+++ b/doc/posix-functions/wprintf.texi
@@ -25,8 +25,7 @@
 This function does not support size specifiers as in C23 (@code{w8},
 @code{w16}, @code{w32}, @code{w64}, @code{wf8}, @code{wf16}, @code{wf32},
 @code{wf64}) on some platforms:
-glibc 2.37, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.2,
-AIX 7.2, HP-UX 11, Solaris 11.4, Cygwin 2.9.0, mingw, MSVC 14.
+glibc 2.37, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.5, AIX 7.3, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC, Android 9.0.
 @item
 This function does not support the @samp{b} directive, required by ISO C23,
 on some platforms:
-- 
2.34.1

Reply via email to