public inbox for elfutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH v2] debuginfod.cxx: include libintl.h.
@ 2020-11-02  0:58 Érico Nogueira
  2020-11-03  0:17 ` Mark Wielaard
  0 siblings, 1 reply; 7+ messages in thread
From: Érico Nogueira @ 2020-11-02  0:58 UTC (permalink / raw)
  To: elfutils-devel; +Cc: Érico Rolim

From: Érico Rolim <erico.erc@gmail.com>

Uncomment the <libintl.h> include, since textdomain() and
bindtextdomain() functions provided by it are being used.

Signed-off-by: Érico Rolim <erico.erc@gmail.com>
---

This is a follow up to the patch that went the opposite way and removed
the calls to bindtextdomain() and textdomain(); it was decided that
those calls should be kept, so all that's needed here is to actually
include the header.

 debuginfod/debuginfod.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debuginfod/debuginfod.cxx b/debuginfod/debuginfod.cxx
index 3085f388..d2a434ee 100644
--- a/debuginfod/debuginfod.cxx
+++ b/debuginfod/debuginfod.cxx
@@ -46,7 +46,7 @@ extern "C" {
 #include <unistd.h>
 #include <stdlib.h>
 #include <error.h>
-// #include <libintl.h> // not until it supports C++ << better
+#include <libintl.h>
 #include <locale.h>
 #include <pthread.h>
 #include <signal.h>
-- 
2.29.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-11-05  0:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-02  0:58 [PATCH v2] debuginfod.cxx: include libintl.h Érico Nogueira
2020-11-03  0:17 ` Mark Wielaard
2020-11-03  2:44   ` Érico Nogueira
2020-11-03 17:13     ` Mark Wielaard
2020-11-03 17:16       ` Frank Ch. Eigler
2020-11-03 17:34         ` Mark Wielaard
2020-11-05  0:36           ` Frank Ch. Eigler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).