* 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-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.
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.
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