Bruno;

I just noticed this failure on NetBSD 5.0.2, i386-unknown-netbsdelf5.0.2:

../../gltests/test-nl_langinfo.c:115: assertion failed
[1]   Abort trap (core dumped) LC_ALL=${LOCALE_...
FAIL: test-nl_langinfo.sh

LC_ALL=fr_FR.ISO8859-1 ./test-nl_langinfo 1

114         const char *currency = nl_langinfo (CRNCYSTR);
(gdb)
115         ASSERT (strlen (currency) >= (pass > 0 ? 1 : 0));
(gdb) p currency
$1 = 0xbbbc7761 ""
(gdb) p pass
$2 = 1

$ grep NL_LANGINFO gllib/Makefile
GNULIB_NL_LANGINFO = 1
HAVE_NL_LANGINFO = 1
REPLACE_NL_LANGINFO = 0
              -e 's|@''GNULIB_NL_LANGINFO''@|$(GNULIB_NL_LANGINFO)|g' \
              -e 's|@''HAVE_NL_LANGINFO''@|$(HAVE_NL_LANGINFO)|g' \
              -e 's|@''REPLACE_NL_LANGINFO''@|$(REPLACE_NL_LANGINFO)|g' \

It doesn't help that NetBSD's locale(1) is buggy:
$ LC_ALL=C locale -ck LC_MONETARY
$

POSIX requires that it should have listed all the keywords within the LC_MONETARY category.

$ LC_ALL=fr_FR.ISO8859-1 locale -ck currency_symbol
LC_MONETARY
currency_symbol="Eu"

Any other information you need?

--
Eric Blake   ebl...@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Reply via email to