about summary refs log tree commit diff
path: root/intl/tst-gettext.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-gettext.c
parent3859d27d73f37877d0633092ab003e0bf2753b13 (diff)
downloadglibc-3470b82679c30642a7a9e3b9e59cd12afb957761.tar.gz
glibc-3470b82679c30642a7a9e3b9e59cd12afb957761.tar.xz
glibc-3470b82679c30642a7a9e3b9e59cd12afb957761.zip
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-gettext.c')
-rw-r--r--intl/tst-gettext.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/intl/tst-gettext.c b/intl/tst-gettext.c
index a83b1d25bd..1f5e6f1918 100644
--- a/intl/tst-gettext.c
+++ b/intl/tst-gettext.c
@@ -76,6 +76,7 @@ main (int argc, char *argv[])
   setenv ("LC_CTYPE", "non-existing-locale", 1);
   setenv ("LANG", "non-existing-locale", 1);
   setlocale (LC_CTYPE, "de_DE.ISO-8859-1");
+  setlocale (LC_MESSAGES, "de_DE.ISO-8859-1");
   unsetenv ("OUTPUT_CHARSET");
   /* This is the name of the existing domain with a catalog for the
      LC_MESSAGES category.  */