Tom G. Christensen wrote: > It does the trick, thanks. Good.
> Now for nl_langinfo this test is also failing: > $ ./test-nl_langinfo.sh > test-nl_langinfo.c:46: assertion failed > Abort - core dumped > > I see in config.log: > REPLACE_NL_LANGINFO='1' > HAVE_LANGINFO_CODESET='0' This test failure is an indication that for a platform worth supporting, one would have to add extra support, so that nl_langinfo(CODESET) returns a reasonable value. > I can see that the call to setlocale returns 'C', however that makes > gnulib nl_langinfo return "" since the dot = NULL case is not handled. > Would it not be okay to simply return the output from setlocale in this > case? No, "C" is a locale name, but not an encoding name. The function could return "ASCII" or "ISO-8859-1" or "UTF-8", depending on what the system does / what the fonts of the usual programs display. But IRIX 5.3 is so old, it does not make sense to start the investigation. For such an obsolete system, be happy that gnulib modules compile. Bruno
