From: Bruno Haible Date: Thu, 8 Jan 2026 23:52:55 +0000 (+0100) Subject: doc: Update for Haiku. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2961ed7a687c11aebdf5951d5267dec85d9e59cb;p=thirdparty%2Fgnulib.git doc: Update for Haiku. * doc/posix-functions/open.texi: Document a Haiku bug. * doc/posix-functions/wcrtomb.texi: Likewise. --- diff --git a/ChangeLog b/ChangeLog index 91f6427617..f7234add8b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2026-01-08 Bruno Haible + + doc: Update for Haiku. + * doc/posix-functions/open.texi: Document a Haiku bug. + * doc/posix-functions/wcrtomb.texi: Likewise. + 2026-01-08 Bruno Haible time_r tests: Avoid test failure on Haiku. diff --git a/doc/posix-functions/open.texi b/doc/posix-functions/open.texi index 723a15a828..a61f3e76da 100644 --- a/doc/posix-functions/open.texi +++ b/doc/posix-functions/open.texi @@ -78,6 +78,10 @@ FreeBSD 14.2. platforms: NetBSD 10.0. @item +@code{open ("fifo", O_DIRECTORY ...)} does not fail on some platforms: +@c https://dev.haiku-os.org/ticket/19879 +Haiku. +@item On Windows, this function returns a file handle in @code{O_TEXT} mode by default; this means that it translates @code{'\n'} to CR/LF by default. Use the @code{O_BINARY} flag if you need reliable binary I/O. diff --git a/doc/posix-functions/wcrtomb.texi b/doc/posix-functions/wcrtomb.texi index 612dcacb0a..9499c7c77f 100644 --- a/doc/posix-functions/wcrtomb.texi +++ b/doc/posix-functions/wcrtomb.texi @@ -21,6 +21,10 @@ Solaris 11.3. @item This function does not ignore the second argument when the first argument is NULL on some platforms: mingw with UCRT, MSVC 14. +@item +This function fails to handle wide characters produced by @code{mbrtowc} on some platforms: +@c https://dev.haiku-os.org/ticket/19881 +Haiku. @end itemize Portability problems not fixed by Gnulib: