Problem reported by Bruno Haible in:
https://lists.gnu.org/r/bug-gnulib/2025-09/msg00282.html
* lib/fchownat.c (rpl_fchownat): Fix typo by passing
our flag to fstatat.
+2025-09-21 Paul Eggert <eggert@cs.ucla.edu>
+
+ fchownat: fix recently introduced flag typo
+ Problem reported by Bruno Haible in:
+ https://lists.gnu.org/r/bug-gnulib/2025-09/msg00282.html
+ * lib/fchownat.c (rpl_fchownat): Fix typo by passing
+ our flag to fstatat.
+
2025-09-21 Bruno Haible <bruno@clisp.org>
pthread-once: Improve configuration.
|| (CHOWN_TRAILING_SLASH_BUG
&& file[0] && file[strlen (file) - 1] == '/'))
{
- int r = fstatat (fd, file, &st, 0);
+ int r = fstatat (fd, file, &st, flag);
/* EOVERFLOW means the file exists, which is all that the
trailing slash check needs. */