On Mär 09 2022, Paul Eggert wrote: > I audited gnulib's uses of fstatat and found one fishy one that doesn't > use AT_NO_AUTOMOUNT, namely, in fts.c where the follow-symlink branch uses > 'stat' whereas the no-follow-symlink branch uses fstatat without > AT_NO_AUTOMOUNT. I installed the first patch to cause it be consistent in > using AT_NO_AUTOMOUNT, which is also consistent with what glibc does
??? In glibc, stat is the same as fstatat(,,,0). -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."