summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--doc/posix-functions/open.texi5
2 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 131a888051..e50d3bdb9d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2023-04-08 Bruno Haible <bruno@clisp.org>
+ doc: Mention another Haiku bug.
+ * doc/posix-functions/open.texi: Mention a Haiku bug with symlinks.
+
+2023-04-08 Bruno Haible <bruno@clisp.org>
+
Avoid Autoconf "was expanded before it was required" warning.
* m4/exponentf.m4 (gl_FLOAT_EXPONENT_LOCATION): Define through
AC_DEFUN_ONCE.
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: