+2022-03-10 Paul Eggert <eggert@cs.ucla.edu>
+
+ fts: revert change to use AT_NO_AUTOMOUNT
+ * NEWS: Don’t mention AT_NO_AUTOMOUNT.
+ * lib/fts.c (fts_stat): Don’t use AT_NO_AUTOMOUNT, as
+ it has no effect with fstatat.
+
2022-03-09 Paul Eggert <eggert@cs.ucla.edu>
statat: now obsolete
Date Modules Changes
-2022-03-09 statat This module is deprecated. Use fstatat instead,
- to specify whether you want AT_NO_AUTOMOUNT.
+2022-03-09 statat This module is deprecated. Use fstatat instead.
2022-01-05 stack This module now uses idx_t instead of size_t
for indexes and counts.
* a stat(2). If that fails, check for a non-existent symlink. If
* fail, set the errno from the stat call.
*/
- int flags = (follow ? 0 : AT_SYMLINK_NOFOLLOW) | AT_NO_AUTOMOUNT;
+ int flags = follow ? 0 : AT_SYMLINK_NOFOLLOW;
if (fstatat (sp->fts_cwd_fd, p->fts_accpath, sbp, flags) < 0)
{
if (follow && errno == ENOENT
&& 0 <= fstatat (sp->fts_cwd_fd, p->fts_accpath, sbp,
- AT_SYMLINK_NOFOLLOW | AT_NO_AUTOMOUNT))
+ AT_SYMLINK_NOFOLLOW))
{
__set_errno (0);
return FTS_SLNONE;