diff options
author | Bruno Haible <bruno@clisp.org> | 2021-01-06 02:08:41 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2021-01-06 04:59:20 +0100 |
commit | 9333dcf67b904820e442634077ecfe285b363c1a (patch) | |
tree | d5433564b16e2956c1725c1ab14fa9b1fbc39369 /doc/posix-functions/utimensat.texi | |
parent | db1e2d8454753100558a2208a7f858ac957c25d0 (diff) | |
download | gnulib-9333dcf67b904820e442634077ecfe285b363c1a.tar.gz |
utimensat: Work around trailing slash bug in utimensat() on AIX 7.2.
* m4/utimensat.m4 (gl_FUNC_UTIMENSAT): Require AC_CANONICAL_HOST. Add a
test for trailing slash handling. Improve cross-compilation guesses.
Conditionally define HAVE_NEARLY_WORKING_UTIMENSAT.
* lib/utimensat.c (rpl_utimensat): Add alternative implementation when
HAVE_NEARLY_WORKING_UTIMENSAT is defined.
* lib/utimens.c: Use the overridden utimensat when
HAVE_NEARLY_WORKING_UTIMENSAT is defined.
* doc/posix-functions/utimensat.texi: Mention the AIX bug.
Diffstat (limited to 'doc/posix-functions/utimensat.texi')
-rw-r--r-- | doc/posix-functions/utimensat.texi | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/posix-functions/utimensat.texi b/doc/posix-functions/utimensat.texi index 92c2b8b64f..03a2912c0a 100644 --- a/doc/posix-functions/utimensat.texi +++ b/doc/posix-functions/utimensat.texi @@ -36,6 +36,9 @@ Linux kernel 2.6.32, Mac OS X 10.13, NetBSD 9.0, Solaris 11.1. Out-of-range values of @code{tv_nsec} do not lead to a failure on some platforms: Linux kernel 2.6.22.19 on hppa. +@item +On some platforms, this function mis-handles a trailing slash: +AIX 7.2. @end itemize Portability problems not fixed by Gnulib: |