]> git.ipfire.org Git - thirdparty/gnulib.git/commitdiff
doc: Mention a Solaris 11.4 bug.
authorCollin Funk <collin.funk1@gmail.com>
Wed, 25 Mar 2026 03:11:36 +0000 (20:11 -0700)
committerCollin Funk <collin.funk1@gmail.com>
Wed, 25 Mar 2026 03:11:36 +0000 (20:11 -0700)
* doc/posix-functions/open.texi: Mention that Solaris 11.4 sets errno to
EINVAL instead of EISDIR when open is called on a directory with
O_CREAT.
* doc/posix-functions/openat.texi: Likewise.

ChangeLog
doc/posix-functions/open.texi
doc/posix-functions/openat.texi

index 0487b1fdb06bc45b4d211ee3e145bd88b259a384..fb757efcd085d355cc3614a4575c8d54f1f06bb7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2026-03-24  Collin Funk  <collin.funk1@gmail.com>
+
+       doc: Mention a Solaris 11.4 bug.
+       * doc/posix-functions/open.texi: Mention that Solaris 11.4 sets errno to
+       EINVAL instead of EISDIR when open is called on a directory with
+       O_CREAT.
+       * doc/posix-functions/openat.texi: Likewise.
+
 2026-03-20  Collin Funk  <collin.funk1@gmail.com>
 
        vasprintf-posix, vasprintf, stdio-windows: Prefer AC_CHECK_FUNCS_ONCE.
index a61f3e76dacb7394c953cb5e0859c0ae301e7ab0..ecdf1bdaa2f1324bf2e00ef3320b4d68b83cf8c3 100644 (file)
@@ -78,6 +78,11 @@ FreeBSD 14.2.
 platforms:
 NetBSD 10.0.
 @item
+@code{open ("directory", O_CREAT ...)} fails with @code{errno} set to
+@code{EINVAL} instead of the POSIX-required @code{EISDIR} on some
+platforms:
+Solaris 11.4.
+@item
 @code{open ("fifo", O_DIRECTORY ...)} does not fail on some platforms:
 @c https://dev.haiku-os.org/ticket/19879
 Haiku.
index 34771eb9903a58fbee1a05fa43afe6c1cea211c3..1e5fc7e7220e481e35f0c164b6b5061ffcaf5e50 100644 (file)
@@ -60,4 +60,9 @@ FreeBSD 10.1.
 set to @code{EFTYPE} instead of the POSIX-required @code{ELOOP} on
 some platforms:
 NetBSD 6.1.
+@item
+@code{openat (fd, "directory", O_CREAT ...)} fails with @code{errno} set
+to @code{EINVAL} instead of the POSIX-required @code{EISDIR} on some
+platforms:
+Solaris 11.4.
 @end itemize