From 5f7d5f2b78d54258e8e2a41596bba0e123c75de4 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 2 Sep 2017 13:14:00 +0200 Subject: dirent: Update doc. * doc/posix-headers/dirent.texi: More concrete list of platforms. --- ChangeLog | 7 +++++++ doc/posix-headers/dirent.texi | 15 ++++++++++----- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index b5c3430ef3..b67d217995 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2017-09-02 Bruno Haible + + dirent: Update doc. + * doc/posix-headers/dirent.texi: More concrete list of platforms. + 2017-09-02 Paul Eggert glob: fix getpwnam_r errno typo @@ -9,6 +14,8 @@ * lib/glob.c (glob) [!HAVE_GETPWNAM_R && !_LIBC]: Fix recently-introduced typo. +2017-09-02 Paul Eggert + glob: don't save and restore errno unnecessarily * lib/glob.c (glob): Don't save and restore errno merely because we have getpwnam_r. diff --git a/doc/posix-headers/dirent.texi b/doc/posix-headers/dirent.texi index 0a19fd3c2a..eab30ca0ff 100644 --- a/doc/posix-headers/dirent.texi +++ b/doc/posix-headers/dirent.texi @@ -9,7 +9,8 @@ Portability problems fixed by Gnulib: @itemize @item The type @code{ino_t} is missing on some platforms: -glibc 2.8 and others. +glibc 2.23 and others. + @end itemize Portability problems not fixed by Gnulib: @@ -21,8 +22,8 @@ MSVC 14. @item Although many systems define a @code{struct dirent} member named @code{d_type} and directory entry type macros like @code{DT_DIR} and -@code{DT_LINK}, some do not: -AIX 7.2, HP-UX 11, Solaris 11, probably others. +@code{DT_LNK}, some do not: +Minix 3.1.8, AIX 7.2, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 11 2011-11, mingw, Interix 3.5, BeOS. @item On systems with @code{d_type}, not every filesystem supports @@ -30,12 +31,16 @@ On systems with @code{d_type}, not every filesystem supports @item Some systems define a @code{struct dirent} member named @code{d_namlen} -containing the string length of @code{d_name}, but others do not. +containing the string length of @code{d_name}, but others do not: +glibc 2.23 on Linux, Minix 3.1.8, Solaris 11 2011-11, Cygwin, BeOS. +All of these, except Cygwin, have a member @code{d_reclen} instead, +that has a different semantics. @item Some systems define a @code{struct dirent} member named @code{d_off} containing a magic cookie suitable as an argument to @code{seekdir}, -but others do not. +but others do not: +glibc 2.23 on Hurd, Mac OS X 10.5, FreeBSD 6.0, NetBSD 5.0, OpenBSD 3.8, AIX 5.1, HP-UX 11, OSF/1 5.1, Cygwin, mingw, Interix 3.5, BeOS. @item Some systems define a @code{struct dirent} member named -- cgit v1.2.1