aboutsummaryrefslogtreecommitdiff
path: root/intl/tst-translit.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-01-03 04:02:46 +0000
committerUlrich Drepper <drepper@redhat.com>2001-01-03 04:02:46 +0000
commit3470b82679c30642a7a9e3b9e59cd12afb957761 (patch)
treee3eeca778e98ebddc25104d7e448d992325c7c98 /intl/tst-translit.c
parent3859d27d73f37877d0633092ab003e0bf2753b13 (diff)
downloadglibc-3470b82679c30642a7a9e3b9e59cd12afb957761.zip
glibc-3470b82679c30642a7a9e3b9e59cd12afb957761.tar.gz
glibc-3470b82679c30642a7a9e3b9e59cd12afb957761.tar.bz2
Update.
2001-01-02 Ulrich Drepper <drepper@redhat.com> * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE value is ignored if the selected locale is the C locale. * intl/tst-gettext.c: Set locale for above change. * intl/tst-translit.c: Likewise.
Diffstat (limited to 'intl/tst-translit.c')
-rw-r--r--intl/tst-translit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/intl/tst-translit.c b/intl/tst-translit.c
index 5d42ae3..3fa8d4c 100644
--- a/intl/tst-translit.c
+++ b/intl/tst-translit.c
@@ -18,6 +18,7 @@
Boston, MA 02111-1307, USA. */
#include <libintl.h>
+#include <locale.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -31,6 +32,7 @@ main (void)
setenv ("LANGUAGE", "existing-locale", 1);
unsetenv ("OUTPUT_CHARSET");
+ setlocale (LC_ALL, "en_US.ANSI_X3.4-1968");
textdomain ("translit");
bindtextdomain ("translit", OBJPFX "domaindir");