Mail Archives: djgpp-workers/2004/12/30/04:03:38
On Thu, 30 Dec 2004 09:24:08 +0300 (MSK), Alexander Aganichev
<aaganichev AT yandex DOT ru> wrote:
>That's bad, collate table should not be all zeroes. Which OS you running on?
>I will try to review Brian's changes and provide updated liblocal.
Please also look at recent posts on thread "C99 strftime and Related
Changes".
>>Is there a more complete test program for tests/...?
>
>It's hard to provide that code since it should be different for the
>different locales. The one idea is to generate all possible locales
>and verify only "C", "POSIX", default (by returning name and compare
>to file) and something odd.
I added something along those lines to the strftime() tests in
xstrftm.c: locales NULL, "", custom, "C"; which is how I found a reset
locale bug, ended up making those changes to setlocale(), and resulted
in adding other locale and timezone tests to the strftime() tests.
IIRC C and POSIX are synonyms for reset, so did not add the POSIX case
to xstrftm.c, but perhaps we should add that as a regression case to
the locale related tests to check the status quo.
- Raw text -