mirror of git://sourceware.org/git/glibc.git
Use de_DE.UTF-8 locale.
This commit is contained in:
parent
a5271e2197
commit
6ca0d915c7
|
|
@ -18,10 +18,10 @@ main (void)
|
||||||
long int pos;
|
long int pos;
|
||||||
int result = 0;
|
int result = 0;
|
||||||
|
|
||||||
puts ("This program runs on en_US.UTF-8 locale.");
|
puts ("This program runs on de_DE.UTF-8 locale.");
|
||||||
if (setlocale (LC_ALL, "en_US.UTF-8") == NULL)
|
if (setlocale (LC_ALL, "de_DE.UTF-8") == NULL)
|
||||||
{
|
{
|
||||||
fprintf (stderr, "Err: Cannot run on the en_US.UTF-8 locale\n");
|
fprintf (stderr, "Err: Cannot run on the de_DE.UTF-8 locale\n");
|
||||||
exit (EXIT_FAILURE);
|
exit (EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue