+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.
+
2001-01-02 Andreas Jaeger <aj@suse.de>
* libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
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. */
Boston, MA 02111-1307, USA. */
#include <libintl.h>
+#include <locale.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
setenv ("LANGUAGE", "existing-locale", 1);
unsetenv ("OUTPUT_CHARSET");
+ setlocale (LC_ALL, "en_US.ANSI_X3.4-1968");
textdomain ("translit");
bindtextdomain ("translit", OBJPFX "domaindir");