From 6861ecc3fbd4a429d8810f6b7a6a6b557f65b9f4 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 13 Apr 2025 11:17:26 +0200 Subject: [PATCH] *printf: Document a Haiku bug. * doc/posix-functions/fwprintf.texi: Mention the missing ' flag support. * doc/posix-functions/vfwprintf.texi: Likewise. * doc/posix-functions/wprintf.texi: Likewise. * doc/posix-functions/vwprintf.texi: Likewise. * doc/posix-functions/swprintf.texi: Likewise. * doc/posix-functions/vswprintf.texi: Likewise. --- ChangeLog | 10 ++++++++++ doc/posix-functions/fwprintf.texi | 4 +++- doc/posix-functions/swprintf.texi | 4 +++- doc/posix-functions/vfwprintf.texi | 4 +++- doc/posix-functions/vswprintf.texi | 4 +++- doc/posix-functions/vwprintf.texi | 4 +++- doc/posix-functions/wprintf.texi | 4 +++- 7 files changed, 28 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index d8b202df02..637749b681 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2025-04-13 Bruno Haible + + *printf: Document a Haiku bug. + * doc/posix-functions/fwprintf.texi: Mention the missing ' flag support. + * doc/posix-functions/vfwprintf.texi: Likewise. + * doc/posix-functions/wprintf.texi: Likewise. + * doc/posix-functions/vwprintf.texi: Likewise. + * doc/posix-functions/swprintf.texi: Likewise. + * doc/posix-functions/vswprintf.texi: Likewise. + 2025-04-12 Collin Funk aligned-malloc tests: Simplify a macro definition and improve comment. diff --git a/doc/posix-functions/fwprintf.texi b/doc/posix-functions/fwprintf.texi index 3ca62ddd2f..e9f71e14b2 100644 --- a/doc/posix-functions/fwprintf.texi +++ b/doc/posix-functions/fwprintf.texi @@ -25,7 +25,9 @@ This function does not support size specifiers as in C23 (@code{w8}, 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 doesn't support the @code{'} flag at all on some platforms: -mingw without @code{__USE_MINGW_ANSI_STDIO}, MSVC 14. +mingw without @code{__USE_MINGW_ANSI_STDIO}, MSVC 14, +@c https://dev.haiku-os.org/ticket/19522 +Haiku. @item This function doesn't support the @code{'} flag correctly for integers (it uses the decimal point instead of the thousands separator!) diff --git a/doc/posix-functions/swprintf.texi b/doc/posix-functions/swprintf.texi index 72cabd3ba2..219fe890f3 100644 --- a/doc/posix-functions/swprintf.texi +++ b/doc/posix-functions/swprintf.texi @@ -61,7 +61,9 @@ musl libc 1.2.3, macOS 14, FreeBSD 13.1, NetBSD 10.0, OpenBSD 7.2, AIX 7.2, mingw. @item This function doesn't support the @code{'} flag at all on some platforms: -mingw without @code{__USE_MINGW_ANSI_STDIO}, MSVC 14. +mingw without @code{__USE_MINGW_ANSI_STDIO}, MSVC 14, +@c https://dev.haiku-os.org/ticket/19522 +Haiku. @item This function doesn't support the @code{'} flag correctly for integers (it uses the decimal point instead of the thousands separator!) diff --git a/doc/posix-functions/vfwprintf.texi b/doc/posix-functions/vfwprintf.texi index f0b38bae49..7ab1914c4b 100644 --- a/doc/posix-functions/vfwprintf.texi +++ b/doc/posix-functions/vfwprintf.texi @@ -25,7 +25,9 @@ This function does not support size specifiers as in C23 (@code{w8}, 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 doesn't support the @code{'} flag at all on some platforms: -mingw without @code{__USE_MINGW_ANSI_STDIO}, MSVC 14. +mingw without @code{__USE_MINGW_ANSI_STDIO}, MSVC 14, +@c https://dev.haiku-os.org/ticket/19522 +Haiku. @item This function doesn't support the @code{'} flag correctly for integers (it uses the decimal point instead of the thousands separator!) diff --git a/doc/posix-functions/vswprintf.texi b/doc/posix-functions/vswprintf.texi index 2bd0b03996..e0111d1ee7 100644 --- a/doc/posix-functions/vswprintf.texi +++ b/doc/posix-functions/vswprintf.texi @@ -27,7 +27,9 @@ This function does not support size specifiers as in C23 (@code{w8}, 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 doesn't support the @code{'} flag at all on some platforms: -mingw without @code{__USE_MINGW_ANSI_STDIO}, MSVC 14. +mingw without @code{__USE_MINGW_ANSI_STDIO}, MSVC 14, +@c https://dev.haiku-os.org/ticket/19522 +Haiku. @item This function doesn't support the @code{'} flag correctly for integers (it uses the decimal point instead of the thousands separator!) diff --git a/doc/posix-functions/vwprintf.texi b/doc/posix-functions/vwprintf.texi index fea34ed3fc..2ad09f58ff 100644 --- a/doc/posix-functions/vwprintf.texi +++ b/doc/posix-functions/vwprintf.texi @@ -28,7 +28,9 @@ This function does not support size specifiers as in C23 (@code{w8}, 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 doesn't support the @code{'} flag at all on some platforms: -mingw without @code{__USE_MINGW_ANSI_STDIO}, MSVC 14. +mingw without @code{__USE_MINGW_ANSI_STDIO}, MSVC 14, +@c https://dev.haiku-os.org/ticket/19522 +Haiku. @item This function doesn't support the @code{'} flag correctly for integers (it uses the decimal point instead of the thousands separator!) diff --git a/doc/posix-functions/wprintf.texi b/doc/posix-functions/wprintf.texi index 4923552b77..8f4db1f93c 100644 --- a/doc/posix-functions/wprintf.texi +++ b/doc/posix-functions/wprintf.texi @@ -28,7 +28,9 @@ This function does not support size specifiers as in C23 (@code{w8}, 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 doesn't support the @code{'} flag at all on some platforms: -mingw without @code{__USE_MINGW_ANSI_STDIO}, MSVC 14. +mingw without @code{__USE_MINGW_ANSI_STDIO}, MSVC 14, +@c https://dev.haiku-os.org/ticket/19522 +Haiku. @item This function doesn't support the @code{'} flag correctly for integers (it uses the decimal point instead of the thousands separator!) -- 2.39.5