Haiku supports the ' flag in sprintf but not in swprintf. Document this:
2025-04-13 Bruno Haible <br...@clisp.org> *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. 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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!)