[PATCH] Don't use locale functions when libintl header isn't included.

Frank Ch. Eigler fche@redhat.com
Mon Oct 26 22:22:57 GMT 2020

Hi -

> On Mon, 2020-10-26 at 01:11 -0300, Érico Nogueira via Elfutils-devel wrote:
> > debuginfod.cxx used the bindtextdomain() and textdomain() functions
> > despite not including any translated output. These functions were also
> > used without including the libintl.h header.
> debuginfod doesn't directly use any translated output, but it links
> against libeu.a which provides the print_version function, which does
> use translated output. So maybe the correct fix is to #include
> <libintl.h> instead?

I think their concern may be that they don't have any libintl.h or
related functions in the musl world.

- FChE

More information about the Elfutils-devel mailing list