]> Savannah Git Hosting - gnulib.git/commit
fts: remove FTS_NOATIME
authorBernhard Voelker <mail@bernhard-voelker.de>
Mon, 8 Oct 2018 23:45:36 +0000 (16:45 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 8 Oct 2018 23:56:44 +0000 (16:56 -0700)
commita9c199ed75fdd2e3948da9cc9a6bfffe458a3443
tree0c657641edbe3df7c8b2c1b6cf6a5f409cf6e1a1
parent744e2d520d6f5cf93f1a9d2bc36b6a6d90f7ea95
fts: remove FTS_NOATIME

This reverts commit da4d6974013c822af1498941e32db774b2031765.
We cannot guarantee that O_NOATIME works: e.g. openat fails
with EPERM if the effective user ID of the caller does not match
the owner of the file and the caller is not privileged.
Downstream findutils has never picked up FTS_NOATIME.  Discussed at
<https://lists.gnu.org/r/bug-gnulib/2018-09/msg00122.html>.
* lib/fts_.h (FTS_NOATIME): Remove bit flag.
(FTS_OPTIONMASK): Adjust.
* lib/fts.c (diropen, fts_open, fts_build): Likewise.
(fd_ring_check): Likewise.
ChangeLog
lib/fts.c
lib/fts_.h