Set LANGUAGE instead of LC_ALL to shield against LANGUAGE being set in the

2005-02-23  Matthias Clasen  <mclasen@redhat.com>

	* tests/keyfile-test.c (test_locale_string): Set LANGUAGE
	instead of LC_ALL to shield against LANGUAGE being set in
	the environment.  (#168311, Suren A. Chilingaryan)
This commit is contained in:
Matthias Clasen 2005-02-24 03:54:42 +00:00 committed by Matthias Clasen
parent 1ecb9a686c
commit db0d5b6b61
5 changed files with 25 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2005-02-23 Matthias Clasen <mclasen@redhat.com>
* tests/keyfile-test.c (test_locale_string): Set LANGUAGE
instead of LC_ALL to shield against LANGUAGE being set in
the environment. (#168311, Suren A. Chilingaryan)
Tue Feb 22 22:03:38 2005 Manish Singh <yosh@gimp.org> Tue Feb 22 22:03:38 2005 Manish Singh <yosh@gimp.org>
* glib/gstdio.h: On G_OS_UNIX, simple #define g_open and co. as * glib/gstdio.h: On G_OS_UNIX, simple #define g_open and co. as

View File

@ -1,3 +1,9 @@
2005-02-23 Matthias Clasen <mclasen@redhat.com>
* tests/keyfile-test.c (test_locale_string): Set LANGUAGE
instead of LC_ALL to shield against LANGUAGE being set in
the environment. (#168311, Suren A. Chilingaryan)
Tue Feb 22 22:03:38 2005 Manish Singh <yosh@gimp.org> Tue Feb 22 22:03:38 2005 Manish Singh <yosh@gimp.org>
* glib/gstdio.h: On G_OS_UNIX, simple #define g_open and co. as * glib/gstdio.h: On G_OS_UNIX, simple #define g_open and co. as

View File

@ -1,3 +1,9 @@
2005-02-23 Matthias Clasen <mclasen@redhat.com>
* tests/keyfile-test.c (test_locale_string): Set LANGUAGE
instead of LC_ALL to shield against LANGUAGE being set in
the environment. (#168311, Suren A. Chilingaryan)
Tue Feb 22 22:03:38 2005 Manish Singh <yosh@gimp.org> Tue Feb 22 22:03:38 2005 Manish Singh <yosh@gimp.org>
* glib/gstdio.h: On G_OS_UNIX, simple #define g_open and co. as * glib/gstdio.h: On G_OS_UNIX, simple #define g_open and co. as

View File

@ -1,3 +1,9 @@
2005-02-23 Matthias Clasen <mclasen@redhat.com>
* tests/keyfile-test.c (test_locale_string): Set LANGUAGE
instead of LC_ALL to shield against LANGUAGE being set in
the environment. (#168311, Suren A. Chilingaryan)
Tue Feb 22 22:03:38 2005 Manish Singh <yosh@gimp.org> Tue Feb 22 22:03:38 2005 Manish Singh <yosh@gimp.org>
* glib/gstdio.h: On G_OS_UNIX, simple #define g_open and co. as * glib/gstdio.h: On G_OS_UNIX, simple #define g_open and co. as

View File

@ -615,7 +615,7 @@ test_locale_string (void)
/* now test that translations are thrown away */ /* now test that translations are thrown away */
g_setenv ("LC_ALL", "de", TRUE); g_setenv ("LANGUAGE", "de", TRUE);
setlocale (LC_ALL, ""); setlocale (LC_ALL, "");
keyfile = load_data (data, 0); keyfile = load_data (data, 0);