bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 9/9] opendirat: don’t depend on openat-safer


From: Bruno Haible
Subject: Re: [PATCH 9/9] opendirat: don’t depend on openat-safer
Date: Mon, 11 Nov 2024 20:03:52 +0100

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  <bruno@clisp.org>

        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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]