bug-gnulib
[Top][All Lists]
Advanced

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

Re: Problem with add_exclude_file()


From: Bruno Haible
Subject: Re: Problem with add_exclude_file()
Date: Mon, 24 May 2021 17:15:56 +0200
User-agent: KMail/5.1.3 (Linux/4.4.0-210-generic; KDE/5.18.0; x86_64; ; )

Gisle Vanem wrote:
> BY preprocessing 'fopen.c', I see the 'rpl_fopen()'
> in my case is rather short. Since 'GNULIB_FOPEN_GNU'
> seems *not* to be defined, it passes mode to
> 'orig_fopen()' with "re" intact. Hence the EINVAL.

This means that apparently the gnulib module 'fopen-gnu' is not
included. Which is strange, since diffutils/bootstrap.conf requests
the 'exclude' module.

> I've no idea who/how '-DGNULIB_FOPEN_GNU' is supposed
> to be set.

It is supposed to be set through the line
  gl_MODULE_INDICATOR([fopen-gnu])
in the module description.

Can you show how you created your diffutils environment, starting with
a fresh 'git clone' as described in
https://savannah.gnu.org/git/?group=diffutils ?

Also, in which environment did run 'bootstrap' (and thus gnulib-tool)?

Bruno




reply via email to

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