]> git.ipfire.org Git - thirdparty/gnulib.git/commitdiff
Document HAVE_WORKING_O_NO{ATIME,FOLLOW}
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 26 May 2025 22:41:51 +0000 (15:41 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 27 May 2025 02:25:48 +0000 (19:25 -0700)
doc/posix-headers/fcntl.texi

index c94f6679f71b443f9baaca7b5c528eaf82008949..211ed49a0cc9c8455e9e3096239e4e5c20c4a120 100644 (file)
@@ -115,6 +115,15 @@ Solaris 11.3.
 Portability problems not fixed by Gnulib:
 @itemize
 
+@item
+On some platforms, @samp{O_NOATIME} and @samp{O_NOFOLLOW}
+are defined but do not work.
+To help work around the resulting portability problems,
+the fcntl-h module defines @samp{HAVE_WORKING_O_NOATIME} to 1
+on platforms where @samp{O_NOATIME} is known to work, and to 0 otherwise;
+and similarly for @samp{HAVE_WORKING_O_NOFOLLOW} and @samp{O_NOFOLLOW}:
+Mac OS X 10.3.
+
 @item
 @samp{O_PATH} is not defined on some platforms:
 glibc 2.13, macOS 13, FreeBSD 13.0, NetBSD 9.2, OpenBSD 7.1, Minix 3.3.0, AIX 7.3, HP-UX 11.31, Solaris 11.4, Cygwin 2.9, mingw, MSVC 14.