bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: nl_langinfo: new failure with glibc-2.26 and fedora 27


From: Jim Meyering
Subject: Re: nl_langinfo: new failure with glibc-2.26 and fedora 27
Date: Sun, 4 Feb 2018 23:36:04 +1300

On Sun, Feb 4, 2018 at 11:04 PM, Bruno Haible <address@hidden> 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  <address@hidden>
>
>         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

[Prev in Thread] Current Thread [Next in Thread]