utimens: Fix test failure on macOS 10.13.
commit86c8ff740b64f3724de20d71dca481bef30b18dd
authorBruno Haible <bruno@clisp.org>
Sat, 2 Jan 2021 17:59:12 +0000 (2 18:59 +0100)
committerBruno Haible <bruno@clisp.org>
Sat, 2 Jan 2021 17:59:12 +0000 (2 18:59 +0100)
tree945615bbad7020d820811cf9b7b84f8094f326ef
parent3b123860925185b7ba330e1f24a7a9389a955f9b
utimens: Fix test failure on macOS 10.13.

* lib/utimens.c (fdutimens): Before calling utimensat, recognize a
filename ending in a slash that does not point to a directory.
ChangeLog
lib/utimens.c