'case' UTF-8 bug
Martijn Dekker
martijn at inlv.org
Sun Jul 2 12:36:22 UTC 2017
Op 01-02-17 om 13:27 schreef Denys Vlasenko:
> On Sat, Dec 24, 2016 at 2:17 PM, Martijn Dekker <martijn at inlv.org> wrote:
>> Op 24-11-16 om 08:22 schreef Denys Vlasenko:
>>> On Thu, Nov 24, 2016 at 2:57 AM, Martijn Dekker <martijn at inlv.org> wrote:
>>>> Op 24-11-16 om 00:14 schreef Denys Vlasenko:
>>>>> Can't reproduce:
>>>> [...]
>>>>> Tried with CONFIG_FEATURE_SH_STANDALONE=y and it still works for me.
>>>>>
>>>>> Please send your .config
>>>>
>>>> OK, see attached.
>>>
>>> Still can't reproduce, 1.25.1 works fine with your config
>>> on my machine.
>>>
>>> Let's find out why it doesn't work for you. Is it environment?
>> [...]
>>
>> Nope, environment makes no difference.
>>
>> Finally found the time to track down the bug on my machine. It is
>> triggered by CONFIG_LOCALE_SUPPORT. Disabling that option makes the bug
>> go away reliably. (I also noticed this option is not enabled by default.)
>
> Well, this is good that it was narrowed, but LOCALE_SUPPORT
> is expected to work, no breakage in ash should result.
> IOW: it is most likely a bug.
Indeed.
> What LANG / LC_ALL / other locale env setup this is happening on?
On any UTF-8 locale, regardless of country or language setting.
For instance, on mine:
$ locale
LANG=nl_NL.UTF-8
LC_CTYPE="nl_NL.UTF-8"
LC_NUMERIC="nl_NL.UTF-8"
LC_TIME="nl_NL.UTF-8"
LC_COLLATE=C
LC_MONETARY="nl_NL.UTF-8"
LC_MESSAGES="nl_NL.UTF-8"
LC_PAPER="nl_NL.UTF-8"
LC_NAME="nl_NL.UTF-8"
LC_ADDRESS="nl_NL.UTF-8"
LC_TELEPHONE="nl_NL.UTF-8"
LC_MEASUREMENT="nl_NL.UTF-8"
LC_IDENTIFICATION="nl_NL.UTF-8"
LC_ALL=
...but also on en_US.UTF-8, fr_FR.UTF-8, etc.
- M.
More information about the busybox
mailing list