On Sun, Feb 4, 2018 at 11:04 PM, Bruno Haible <br...@clisp.org> wrote:
> Hi Jim,
>
>> I wanted to update sed to latest gnulib, but found that the new
>> nl_langinfo tests would fail on fedora 27 with glibc-2.26, where
>> nl_langinfo (ALTMON_1) returns the empty string:
>>
>> FAIL: test-nl_langinfo.sh
>> =========================
>>
>> test-nl_langinfo.c:95: assertion 'strlen (nl_langinfo (ALTMON_1)) > 0' failed
>> ./test-nl_langinfo.sh: line 3: 10789 Aborted                 (core
>> dumped) LC_ALL=C ./test-nl_langinfo${EXEEXT} 0
>> FAIL test-nl_langinfo.sh (exit status: 1)
>
> I could swear I had tested this, but apparently I had only tested the
> 'langinfo' module, not the 'nl_langinfo' module. Fixed:
>
>
> 2018-02-04  Bruno Haible  <br...@clisp.org>
>
>         nl_langinfo: Override the system's nl_langinfo() when needed.
>         Reported by Jim Meyering.
>         * m4/nl_langinfo.m4 (gl_FUNC_NL_LANGINFO): Set REPLACE_NL_LANGINFO=1
>         also when HAVE_LANGINFO_T_FMT_AMPM or HAVE_LANGINFO_ALTMON is 0.

Hi Bruno,
Thank you for the quick fix.
I confirm it solves the problem for me.

Reply via email to