A testdir for module 'fts', from gnulib a week ago, fails to compile on
native Windows: an error due to the undefined function 'fstatat'.

The cause is probably that up to 2011, native Windows was not seen as a
portability target, but it now is.

This patch corrects the dependencies of this module.


2025-06-03  Bruno Haible  <br...@clisp.org>

        fts: Update dependencies.
        * modules/fts (Depends-on): Add close, dirfd, fstatat, openat. Remove
        lstat, open, opendir.

diff --git a/modules/fts b/modules/fts
index 80e1dae2bc..88b00e17f3 100644
--- a/modules/fts
+++ b/modules/fts
@@ -14,10 +14,12 @@ alignasof
 attribute
 c99
 calloc-posix
+close
 closedir
 cycle-check
 d-ino
 d-type
+dirfd
 fchdir
 fcntl
 fcntl-h
@@ -25,14 +27,13 @@ fcntl-safer
 flexmember
 free-posix
 fstat
+fstatat
 hash
 i-ring
-lstat
 malloc-posix
 memmove
-open
+openat
 openat-h
-opendir
 opendirat
 readdir
 realloc-posix




Reply via email to