mirror of git://sourceware.org/git/glibc.git
[BZ #33]
Update. * intl/tst-gettext.c (main): Improve some messages. [BZ #33]
This commit is contained in:
parent
1750bc8d9b
commit
f58dc02246
|
@ -1,5 +1,7 @@
|
||||||
2004-08-08 Ulrich Drepper <drepper@redhat.com>
|
2004-08-08 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* intl/tst-gettext.c (main): Improve some messages. [BZ #33]
|
||||||
|
|
||||||
* time/strptime_l.c (__strptime_internal): Fix handling of %Ey.
|
* time/strptime_l.c (__strptime_internal): Fix handling of %Ey.
|
||||||
[BZ #28]
|
[BZ #28]
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* Test of the gettext functions.
|
/* Test of the 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.
|
||||||
Contributed by Ulrich Drepper <drepper@cygnus.com>, 2000.
|
Contributed by Ulrich Drepper <drepper@cygnus.com>, 2000.
|
||||||
|
|
||||||
|
@ -160,7 +160,7 @@ main (int argc, char *argv[])
|
||||||
result = 1;
|
result = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
puts ("test `gettext' with LC_ALL set");
|
puts ("test `gettext' with LC_MESSAGES set");
|
||||||
/* 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. */
|
||||||
textdomain ("existing-domain");
|
textdomain ("existing-domain");
|
||||||
|
@ -173,13 +173,13 @@ main (int argc, char *argv[])
|
||||||
LC_MESSAGES category. We leave this value set for the `dgettext'
|
LC_MESSAGES category. We leave this value set for the `dgettext'
|
||||||
and `dcgettext' tests. */
|
and `dcgettext' tests. */
|
||||||
textdomain ("non-existing-domain");
|
textdomain ("non-existing-domain");
|
||||||
puts ("test `gettext' with LC_xxx deciding");
|
puts ("test `gettext' with LC_MESSAGES deciding");
|
||||||
if (negative_gettext_test () != 0)
|
if (negative_gettext_test () != 0)
|
||||||
{
|
{
|
||||||
puts ("FAILED");
|
puts ("FAILED");
|
||||||
result = 1;
|
result = 1;
|
||||||
}
|
}
|
||||||
puts ("test `dgettext' with LC_xxx deciding");
|
puts ("test `dgettext' with LC_MESSAGES deciding");
|
||||||
if (positive_dgettext_test ("existing-domain") != 0)
|
if (positive_dgettext_test ("existing-domain") != 0)
|
||||||
{
|
{
|
||||||
puts ("FAILED");
|
puts ("FAILED");
|
||||||
|
|
Loading…
Reference in New Issue