From 0b8ab8f48bdcaa06343a3023e83333557f8b7de8 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Tue, 15 Aug 2017 00:48:25 +0200 Subject: [PATCH] open, openat: Update doc about O_CLOEXEC. * doc/posix-functions/open.texi: More concrete list of platforms. * doc/posix-functions/openat.texi: Likewise. --- ChangeLog | 7 ++++++- doc/posix-functions/open.texi | 2 +- doc/posix-functions/openat.texi | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7f1a5c2e9c..f611e4a472 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ -2017-08-14 Paul Eggert +2017-08-14 Bruno Haible + + open, openat: Update doc about O_CLOEXEC. + * doc/posix-functions/open.texi: More concrete list of platforms. + * doc/posix-functions/openat.texi: Likewise. +2017-08-14 Paul Eggert open: support O_CLOEXEC * NEWS, doc/posix-functions/open.texi: diff --git a/doc/posix-functions/open.texi b/doc/posix-functions/open.texi index f1565c31a5..7e9df261d5 100644 --- a/doc/posix-functions/open.texi +++ b/doc/posix-functions/open.texi @@ -10,7 +10,7 @@ Portability problems fixed by the Gnulib module open: @itemize @item Some platforms do not support @code{O_CLOEXEC}: -Solaris 10, probably many others. +Mac OS X 10.5, FreeBSD 6.0, NetBSD 5.0, OpenBSD 3.8, Minix 3.1.8, AIX 5.1, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 10, Cygwin, mingw, MSVC 14, Interix 3.5. @item On platforms where @code{off_t} is a 32-bit type, @code{open} may not work correctly with files larger than 2 GB. (Cf. @code{AC_SYS_LARGEFILE}.) diff --git a/doc/posix-functions/openat.texi b/doc/posix-functions/openat.texi index 9f7632b1b9..4a206362af 100644 --- a/doc/posix-functions/openat.texi +++ b/doc/posix-functions/openat.texi @@ -15,7 +15,7 @@ AIX 5.1, HP-UX 11, IRIX 6.5, OSF/1 5.1, Cygwin 1.5.x, mingw, MSVC 14, Interix 3. But the replacement function is not safe to be used in libraries and is not multithread-safe. @item Some platforms do not support @code{O_CLOEXEC}: -Solaris 10. +AIX 7.1, Solaris 10. @item On platforms where @code{off_t} is a 32-bit type, @code{open} may not work correctly with files larger than 2 GB. (Cf. @code{AC_SYS_LARGEFILE}.) -- 2.39.5