Paul Eggert wrote:
> diff --git a/modules/opendirat b/modules/opendirat
> index 17542ff4fa..61500512ee 100644
> --- a/modules/opendirat
> +++ b/modules/opendirat
> @@ -10,7 +10,7 @@ c99
> dirent
> fcntl-h
> fdopendir
> -openat-safer
> +openat
>
> configure.ac:
This change triggered a build failure of inetutils:
CC libgnu_a-fts.o
fts.c:73:11: fatal error: fcntl--.h: No such file or directory
73 | # include "fcntl--.h"
| ^~~~~~~~~~~
compilation terminated.
make[4]: *** [Makefile:4523: libgnu_a-fts.o] Error 1
It can also be reproduced through
$ ./gnulib-tool --test --single-configure fts
...
../../gllib/fts.c:73:11: fatal error: fcntl--.h: No such file or directory
73 | # include "fcntl--.h"
| ^~~~~~~~~~~
compilation terminated.
make[4]: *** [Makefile:2307: fts.o] Error 1
This patch fixes it.
2024-11-11 Bruno Haible <[email protected]>
fts: Fix dependencies (regression 2024-11-06).
* modules/fts (Depends-on): Add fcntl-safer.
diff --git a/modules/fts b/modules/fts
index b754e0f572..d9b9346889 100644
--- a/modules/fts
+++ b/modules/fts
@@ -19,6 +19,7 @@ d-type
fchdir
fcntl
fcntl-h
+fcntl-safer
flexmember
free-posix
fstat