[PATCH] Don't use locale functions when libintl header isn't included.
Mark Wielaard
mark@klomp.org
Mon Oct 26 18:46:08 GMT 2020
Hi Érico,
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?
Cheers,
Mark
More information about the Elfutils-devel
mailing list