From c0c646e29fbda0a6eadd6012d8ed1eb33b6c3968 Mon Sep 17 00:00:00 2001 From: Collin Funk <collin.funk1@gmail.com> Date: Fri, 2 May 2025 20:33:56 -0700 Subject: [PATCH] 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 ...)'. --- ChangeLog | 7 +++++++ doc/posix-functions/open.texi | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) 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 -- 2.39.5