From e5870f71c32284974669bb766daefee78737c0fa Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 8 Apr 2023 18:15:07 +0200 Subject: [PATCH] doc: Mention another Haiku bug. * doc/posix-functions/open.texi: Mention a Haiku bug with symlinks. --- ChangeLog | 5 +++++ doc/posix-functions/open.texi | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/ChangeLog b/ChangeLog index 131a888051..e50d3bdb9d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2023-04-08 Bruno Haible + + doc: Mention another Haiku bug. + * doc/posix-functions/open.texi: Mention a Haiku bug with symlinks. + 2023-04-08 Bruno Haible Avoid Autoconf "was expanded before it was required" warning. diff --git a/doc/posix-functions/open.texi b/doc/posix-functions/open.texi index 791e58a8e6..aa4f08b67d 100644 --- a/doc/posix-functions/open.texi +++ b/doc/posix-functions/open.texi @@ -42,6 +42,11 @@ Portability problems not fixed by Gnulib: The Gnulib replacement for @code{O_CLOEXEC} is not atomic, and so is not safe in the presence of multiple threads or signal handlers. @item +@code{open ("symlink", O_CREAT ...)} fails when the argument points to a +nonexistent file in an existing directory on some platforms: +@c https://dev.haiku-os.org/ticket/18355 +Haiku. +@item @code{open ("symlink", O_NOFOLLOW ...)} fails with @code{errno} set to @code{EMLINK} instead of the POSIX-required @code{ELOOP} on some platforms: -- 2.39.5