From: Collin Funk <collin.funk1@gmail.com> Date: Sat, 3 May 2025 03:33:56 +0000 (-0700) Subject: doc: Update documentation for 'open' errno discrepancies. X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=c0c646e29fbda0a6eadd6012d8ed1eb33b6c3968;p=gnulib.git doc: Update documentation for 'open' errno discrepancies. * doc/posix-functions/open.texi: Document that NetBSD 10.0 and FreeBSD 14.2 set errno differently than POSIX specifies for 'open ("symlink", O_NOFOLLOW ...)'. --- diff --git a/ChangeLog b/ChangeLog index 0810642297..c33aae4a7a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2025-05-02 Collin Funk <collin.funk1@gmail.com> + + doc: Update documentation for 'open' errno discrepancies. + * doc/posix-functions/open.texi: Document that NetBSD 10.0 and FreeBSD + 14.2 set errno differently than POSIX specifies for + 'open ("symlink", O_NOFOLLOW ...)'. + 2025-05-02 Bruno Haible <bruno@clisp.org> vc-mtime: Make it work with git versions < 2.28. diff --git a/doc/posix-functions/open.texi b/doc/posix-functions/open.texi index dccadae8c9..a7e83e4f49 100644 --- a/doc/posix-functions/open.texi +++ b/doc/posix-functions/open.texi @@ -60,12 +60,12 @@ Haiku. @code{open ("symlink", O_NOFOLLOW ...)} fails with @code{errno} set to @code{EMLINK} instead of the POSIX-required @code{ELOOP} on some platforms: -FreeBSD 10.1. +FreeBSD 14.2. @item @code{open ("symlink", O_NOFOLLOW ...)} fails with @code{errno} set to @code{EFTYPE} instead of the POSIX-required @code{ELOOP} on some platforms: -NetBSD 6.1. +NetBSD 10.0. @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