From 721e499d98b4237164f0729f120990f0f7b5a98e Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Wed, 27 May 2020 20:33:28 +0200 Subject: [PATCH] doc: Fix statement about O_CLOEXEC (wrong since 2017-08-14). * doc/posix-headers/fcntl.texi: Gnulib no longer defines O_CLOEXEC to 0. --- ChangeLog | 5 +++++ doc/posix-headers/fcntl.texi | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ea2716b2f2..f3de49807f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2020-05-28 Bruno Haible + + doc: Fix statement about O_CLOEXEC (wrong since 2017-08-14). + * doc/posix-headers/fcntl.texi: Gnulib no longer defines O_CLOEXEC to 0. + 2020-05-28 Daiki Ueno fopen-gnu: make 'b' flag can be used with 'e' on Windows diff --git a/doc/posix-headers/fcntl.texi b/doc/posix-headers/fcntl.texi index 6313cb24f6..05cb938095 100644 --- a/doc/posix-headers/fcntl.texi +++ b/doc/posix-headers/fcntl.texi @@ -16,7 +16,11 @@ The type @code{mode_t} is not defined on some platforms: MSVC 14. @item -@samp{O_CLOEXEC}, @samp{O_DIRECTORY}, @samp{O_DSYNC}, @samp{O_NOCTTY}, +@samp{O_CLOEXEC} is not defined on some platforms: +Mac OS X 10.6, FreeBSD 8.4, NetBSD 5.1, OpenBSD 4.9, Minix 3.1.8, AIX 7.1, HP-UX 11.31, IRIX 6.5, Solaris 10, Cygwin 1.7.1, mingw, MSVC 14. + +@item +@samp{O_DIRECTORY}, @samp{O_DSYNC}, @samp{O_NOCTTY}, @samp{O_NOFOLLOW}, @samp{O_RSYNC}, @samp{O_SYNC}, and @samp{O_TTY_INIT} are not defined on some platforms. Gnulib defines these macros to 0, which is generally safe. -- 2.39.5