On Fri, Sep 10, 2010 at 11:20:52PM +0200, Bruno Haible wrote: > 2010-09-10 Bruno Haible <[email protected]> > > langinfo: Fix last commit. > * m4/langinfo_h.m4 (gl_LANGINFO_H): Initialize > HAVE_LANGINFO_T_FMT_AMPM, HAVE_LANGINFO_YESEXPR. > Reported by Tom G. Christensen <[email protected]>. > It does the trick, thanks.
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' 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? -tgc
