diff options
author | Bruno Haible <bruno@clisp.org> | 2020-12-05 00:17:02 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2020-12-05 00:22:49 +0100 |
commit | dc25619947e86c13ab7bad8ae6603b984025883f (patch) | |
tree | b3fac2ca59a653b3723803d365a1159a9e9536a0 /doc/posix-functions/lstat.texi | |
parent | ae9456c946c68fa07419cd4187b7060940f8ec25 (diff) | |
download | gnulib-dc25619947e86c13ab7bad8ae6603b984025883f.tar.gz |
utime: Fix a test failure on macOS 10.13.
Reported by Martin Storsjö <martin@martin.st> in
<https://lists.gnu.org/archive/html/bug-gnulib/2020-12/msg00003.html>.
* m4/utime.m4 (gl_FUNC_UTIME): Test whether utime handles trailing
slashes on files.
* lib/utime.c (utime): Add alternative implementation for Unix
platforms.
* modules/utime (Depends-on): Add stat.
* doc/posix-functions/utime.texi: Mention the macOS 10.13 bug.
* doc/posix-functions/lstat.texi: Mention that macOS 10.13 also has the
trailing-slash bug.
* doc/posix-functions/open.texi: Likewise.
* doc/posix-functions/stat.texi: Likewise.
* doc/posix-functions/symlink.texi: Likewise.
Diffstat (limited to 'doc/posix-functions/lstat.texi')
-rw-r--r-- | doc/posix-functions/lstat.texi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/posix-functions/lstat.texi b/doc/posix-functions/lstat.texi index 1b1aff62cd..1a1ffb448e 100644 --- a/doc/posix-functions/lstat.texi +++ b/doc/posix-functions/lstat.texi @@ -24,7 +24,7 @@ Solaris 9. @item On some platforms, @code{lstat("file/",buf)} succeeds instead of failing with @code{ENOTDIR}. -Solaris 9. +Mac OS X 10.13, Solaris 9. @item On Solaris 11.4, when this function yields a timestamp with a nonpositive @code{tv_sec} value, @code{tv_nsec} might be in the range |