* intl/tst-gettext.sh: Adjust for change for de.po file to UTF-8.
	* intl/tst-gettext.c: Likewise.
This commit is contained in:
Ulrich Drepper 2004-08-15 19:28:54 +00:00
parent a691b21725
commit 1e6d2101ea
3 changed files with 8 additions and 5 deletions

View File

@ -1,5 +1,8 @@
2004-08-15 Ulrich Drepper <drepper@redhat.com> 2004-08-15 Ulrich Drepper <drepper@redhat.com>
* intl/tst-gettext.sh: Adjust for change for de.po file to UTF-8.
* intl/tst-gettext.c: Likewise.
* nss/getent.c (ahosts_keys_int): Correctly print IPv6 addresses. * nss/getent.c (ahosts_keys_int): Correctly print IPv6 addresses.
* nss/getent.c: Allow queries for getaddrinfo with AF_INET and * nss/getent.c: Allow queries for getaddrinfo with AF_INET and

View File

@ -87,8 +87,8 @@ main (int argc, char *argv[])
setenv ("LC_MESSAGES", "non-existing-locale", 1); setenv ("LC_MESSAGES", "non-existing-locale", 1);
setenv ("LC_CTYPE", "non-existing-locale", 1); setenv ("LC_CTYPE", "non-existing-locale", 1);
setenv ("LANG", "non-existing-locale", 1); setenv ("LANG", "non-existing-locale", 1);
check_setlocale (LC_CTYPE, "de_DE.ISO-8859-1"); check_setlocale (LC_CTYPE, "de_DE.UTF-8");
check_setlocale (LC_MESSAGES, "de_DE.ISO-8859-1"); check_setlocale (LC_MESSAGES, "de_DE.UTF-8");
unsetenv ("OUTPUT_CHARSET"); unsetenv ("OUTPUT_CHARSET");
/* This is the name of the existing domain with a catalog for the /* This is the name of the existing domain with a catalog for the
LC_MESSAGES category. */ LC_MESSAGES category. */

View File

@ -1,6 +1,6 @@
#! /bin/sh #! /bin/sh
# Test of gettext functions. # Test of gettext functions.
# Copyright (C) 2000, 2002 Free Software Foundation, Inc. # Copyright (C) 2000, 2002, 2004 Free Software Foundation, Inc.
# This file is part of the GNU C Library. # This file is part of the GNU C Library.
# #
@ -31,10 +31,10 @@ export LC_ALL
# Create the locale directories. # Create the locale directories.
mkdir -p ${objpfx}localedir/existing-locale/LC_MESSAGES mkdir -p ${objpfx}localedir/existing-locale/LC_MESSAGES
for f in ADDRESS COLLATE CTYPE IDENTIFICATION MEASUREMENT MONETARY NAME NUMERIC PAPER TELEPHONE TIME; do for f in ADDRESS COLLATE CTYPE IDENTIFICATION MEASUREMENT MONETARY NAME NUMERIC PAPER TELEPHONE TIME; do
cp -f ${common_objpfx}localedata/de_DE.ISO-8859-1/LC_$f \ cp -f ${common_objpfx}localedata/de_DE.UTF-8/LC_$f \
${objpfx}localedir/existing-locale ${objpfx}localedir/existing-locale
done done
cp -f ${common_objpfx}localedata/de_DE.ISO-8859-1/LC_MESSAGES/SYS_LC_MESSAGES \ cp -f ${common_objpfx}localedata/de_DE.UTF-8/LC_MESSAGES/SYS_LC_MESSAGES \
${objpfx}localedir/existing-locale/LC_MESSAGES ${objpfx}localedir/existing-locale/LC_MESSAGES
# Create the domain directories. # Create the domain directories.