From b17857d9088af887c0f4edd13cfc5c189f4a5930 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Thu, 6 Apr 2023 01:10:30 +0200 Subject: doc: Add references to registered Haiku bugs. * doc/posix-functions/call_once.texi: Mention Haiku bug. * doc/posix-functions/duplocale.texi: Likewise. * doc/posix-functions/freelocale.texi: Likewise. * doc/posix-functions/getlogin_r.texi: Likewise. * doc/posix-functions/initstate.texi: Likewise. * doc/posix-functions/mbrtoc32.texi: Likewise. * doc/posix-functions/strxfrm.texi: Likewise. * doc/posix-headers/math.texi: Update. --- doc/posix-functions/call_once.texi | 4 ++++ doc/posix-functions/duplocale.texi | 5 +++++ doc/posix-functions/freelocale.texi | 5 +++++ doc/posix-functions/getlogin_r.texi | 5 +++++ doc/posix-functions/initstate.texi | 4 ++++ doc/posix-functions/mbrtoc32.texi | 4 +++- doc/posix-functions/strxfrm.texi | 4 ++++ doc/posix-headers/math.texi | 3 ++- 8 files changed, 32 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/posix-functions/call_once.texi b/doc/posix-functions/call_once.texi index e7c6f07542..5728740372 100644 --- a/doc/posix-functions/call_once.texi +++ b/doc/posix-functions/call_once.texi @@ -21,4 +21,8 @@ glibc 2.27, macOS 11.1, FreeBSD 9.3, NetBSD 8.0, OpenBSD 6.7, Minix 3.1.8, AIX 7 Portability problems not fixed by Gnulib: @itemize +@item +This function does not work on some platforms: +@c https://dev.haiku-os.org/ticket/18348 +Haiku. @end itemize diff --git a/doc/posix-functions/duplocale.texi b/doc/posix-functions/duplocale.texi index cf80f06fc1..c2f654b9d1 100644 --- a/doc/posix-functions/duplocale.texi +++ b/doc/posix-functions/duplocale.texi @@ -26,4 +26,9 @@ FreeBSD 9.0, NetBSD 5.0, OpenBSD 6.1, Minix 3.1.8, AIX 6.1, HP-UX 11, IRIX 6.5, This function is useless because the @code{locale_t} type is not defined on some platforms: z/OS. +@item +With the argument @code{LC_GLOBAL_LOCALE}, this function returns a wrong result +on some platforms: +@c https://dev.haiku-os.org/ticket/18345 +Haiku. @end itemize diff --git a/doc/posix-functions/freelocale.texi b/doc/posix-functions/freelocale.texi index a3267dc762..75ef4bf9d9 100644 --- a/doc/posix-functions/freelocale.texi +++ b/doc/posix-functions/freelocale.texi @@ -19,4 +19,9 @@ FreeBSD 9.0, NetBSD 5.0, OpenBSD 6.1, Minix 3.1.8, AIX 6.1, HP-UX 11, IRIX 6.5, This function is useless because the @code{locale_t} type is not defined on some platforms: z/OS. +@item +This function may cause crashes in subsequent @code{newlocale} invocations +on some platforms: +@c https://dev.haiku-os.org/ticket/18344 +Haiku. @end itemize diff --git a/doc/posix-functions/getlogin_r.texi b/doc/posix-functions/getlogin_r.texi index b63f774ca0..b4f9e0eac9 100644 --- a/doc/posix-functions/getlogin_r.texi +++ b/doc/posix-functions/getlogin_r.texi @@ -33,4 +33,9 @@ HP-UX 11.11. This function fails with error code @code{EINVAL} instead of @code{ERANGE} when the second argument is zero on some platforms: HP-UX 11.31. +@item +This function fails with error code @code{ENOMEM} instead of @code{ERANGE} on +some platforms: +@c https://dev.haiku-os.org/ticket/18349 +Haiku. @end itemize diff --git a/doc/posix-functions/initstate.texi b/doc/posix-functions/initstate.texi index 3346767485..2f7a83ca95 100644 --- a/doc/posix-functions/initstate.texi +++ b/doc/posix-functions/initstate.texi @@ -25,4 +25,8 @@ MidnightBSD 2.0. @item The third parameter is @code{long} instead of @code{size_t} on some platforms: MidnightBSD 2.0. +@item +This function makes out-of-bounds writes on some platforms: +@c https://dev.haiku-os.org/ticket/18346 +Haiku. @end itemize diff --git a/doc/posix-functions/mbrtoc32.texi b/doc/posix-functions/mbrtoc32.texi index 7c3d6c294a..27700d4376 100644 --- a/doc/posix-functions/mbrtoc32.texi +++ b/doc/posix-functions/mbrtoc32.texi @@ -16,7 +16,9 @@ glibc 2.35. @item This function returns 0 instead of @code{(size_t) -2} when the input is empty: -glibc 2.19. +glibc 2.19, +@c https://dev.haiku-os.org/ticket/18350 +Haiku. @item This function does not recognize multibyte sequences that @code{mbrtowc} recognizes on some platforms: diff --git a/doc/posix-functions/strxfrm.texi b/doc/posix-functions/strxfrm.texi index 879b6cfdeb..b1675b75f7 100644 --- a/doc/posix-functions/strxfrm.texi +++ b/doc/posix-functions/strxfrm.texi @@ -12,4 +12,8 @@ Portability problems fixed by Gnulib: Portability problems not fixed by Gnulib: @itemize +@item +This function has a wrong return value on some platforms: +@c https://dev.haiku-os.org/ticket/18347 +Haiku. @end itemize diff --git a/doc/posix-headers/math.texi b/doc/posix-headers/math.texi index aaa079f08a..d09ddce21d 100644 --- a/doc/posix-headers/math.texi +++ b/doc/posix-headers/math.texi @@ -39,7 +39,8 @@ NetBSD 5.1, AIX 5.1, IRIX 6.5, Solaris 9, MSVC 9. @item The macros @code{FP_ILOGB0} and @code{FP_ILOGBNAN} have wrong values on some platforms: -Haiku 2017. +@c https://dev.haiku-os.org/ticket/18351 +Haiku 2022. @item The macros @code{NAN}, @code{HUGE_VALL}, and @code{INFINITY} are not -- cgit v1.2.1