From 7caab37cd1bfd215e00475512f1a58d7b9f57a77 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Fri, 1 Oct 2004 10:18:31 +0000 Subject: * gpgv.c (i18n_init): Always use LC_ALL. * bftest.c (i18n_init): Always use LC_ALL. * shmtest.c (i18n_init): Ditto. * mpicalc.c (i18n_init): Ditto. --- tools/ChangeLog | 6 ++++++ tools/bftest.c | 4 ---- tools/mpicalc.c | 4 ---- tools/shmtest.c | 6 +----- 4 files changed, 7 insertions(+), 13 deletions(-) (limited to 'tools') diff --git a/tools/ChangeLog b/tools/ChangeLog index 75f4cc73f..f8299725a 100644 --- a/tools/ChangeLog +++ b/tools/ChangeLog @@ -1,3 +1,9 @@ +2004-10-01 Werner Koch + + * bftest.c (i18n_init): Always use LC_ALL. + * shmtest.c (i18n_init): Ditto. + * mpicalc.c (i18n_init): Ditto. + 2004-09-13 David Shaw * pgpgroup-to-gpggroup: New perl script to take groups from PGP diff --git a/tools/bftest.c b/tools/bftest.c index 67a80e33d..49516afc4 100644 --- a/tools/bftest.c +++ b/tools/bftest.c @@ -48,11 +48,7 @@ static void i18n_init(void) { #ifdef ENABLE_NLS -#ifdef HAVE_LC_MESSAGES - setlocale( LC_MESSAGES, "" ); -#else setlocale( LC_ALL, "" ); -#endif bindtextdomain( PACKAGE, G10_LOCALEDIR ); textdomain( PACKAGE ); #endif diff --git a/tools/mpicalc.c b/tools/mpicalc.c index e582ff609..392bd3ef1 100644 --- a/tools/mpicalc.c +++ b/tools/mpicalc.c @@ -66,11 +66,7 @@ static void i18n_init(void) { #ifdef ENABLE_NLS -#ifdef HAVE_LC_MESSAGES - setlocale( LC_MESSAGES, "" ); -#else setlocale( LC_ALL, "" ); -#endif bindtextdomain( PACKAGE, G10_LOCALEDIR ); textdomain( PACKAGE ); #endif diff --git a/tools/shmtest.c b/tools/shmtest.c index d8bf72b61..3ef763854 100644 --- a/tools/shmtest.c +++ b/tools/shmtest.c @@ -56,11 +56,7 @@ static void i18n_init(void) { #ifdef ENABLE_NLS -#ifdef HAVE_LC_MESSAGES - setlocale( LC_MESSAGES, "" ); -#else - setlocale( LC_ALL, "" ); -#endif + setlocale( LC_ALL, "" ); bindtextdomain( PACKAGE, G10_LOCALEDIR ); textdomain( PACKAGE ); #endif -- cgit v1.2.3