From 3fa4f598df4dfb29a3609d51713614f76f4acc82 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sat, 11 Jun 2022 16:59:12 -0700 Subject: [PATCH 2/2] fcntl: document O_PATH * doc/posix-headers/fcntl.texi: Mention O_PATH. --- ChangeLog | 3 +++ doc/posix-headers/fcntl.texi | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index 54ac81901d..9975ebc035 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2022-06-11 Paul Eggert + fcntl: document O_PATH + * doc/posix-headers/fcntl.texi: Mention O_PATH. + fchmodat: port to old Linux kernel + newer headers Problem reported by Lance Fredrickson in: https://lists.gnu.org/r/bug-gnulib/2022-06/msg00038.html diff --git a/doc/posix-headers/fcntl.texi b/doc/posix-headers/fcntl.texi index 860dc3f869..8be69f4656 100644 --- a/doc/posix-headers/fcntl.texi +++ b/doc/posix-headers/fcntl.texi @@ -86,6 +86,12 @@ Solaris 11.3. Portability problems not fixed by Gnulib: @itemize + +@item +@samp{O_PATH} is not defined on some platforms: +AIX 7.3, FreeBSD 9.3, IRIX 6.5, macOS 13, mingw, Minix 3.3.0, MSVC 14, +NetBSD 9.2, OpenBSD 7.1, Solaris 11.4. + @item @samp{F_SETFD}, @samp{F_GETFL}, @samp{F_SETFL}, @samp{F_GETLK}, @samp{F_SETLK}, @samp{F_SETLKW}, @samp{F_GETOWN}, and @samp{F_SETOWN} -- 2.34.1