Am Mittwoch, 14. Februar 2024 um 18:06:23 MEZ hat Bruno Haible 
<br...@clisp.org> Folgendes geschrieben:

> Hannes Domani wrote:
> > > > Is there some reason why the 'fchdir' module isn't automatically 
> > > > imported
> > > > if REPLACE_FCHDIR set set?
> > >
> > > There are two gnulib-tool invocation in poke; both affect the same
> > > poke/config.h. It is impossible for the gnulib-tool invocation for
> > > libpoke to know about the effects that the gnulib-tool invocation for
> > > poke has done or will be doing.
> >
> > In this case only libpoke was linked into gdb, not poke.
>
> Yes, but what I am saying is:
> 1. The gnulib-tool invocation for poke has activated the fchdir module
>   (most likely implicitly, through Gnulib modules such as openat, fstatat,
>   etc.).
> 2. This configuration has the effect of defining REPLACE_FCHDIR to 1
>   in poke/config.h.
> 3. libpoke was compiled with this poke/config.h. Thus libpoke needs the
>   _gl_unregister_fd symbol.

Ooooh, libpoke uses poke/config.h, that was what I was missing.
Yes, then it makes sense.


Hannes

Reply via email to