Bug#926906: marked as done (libc6: range of cyrillic lowercase letters matches also uppercase)
Your message dated Tue, 20 Aug 2019 14:37:00 +0200
with message-id <20190820123700.GA23914@aurel32.net>
and subject line Re: Bug#926906: libc6: range of cyrillic lowercase letters matches also uppercase
has caused the Debian Bug report #926906,
regarding libc6: range of cyrillic lowercase letters matches also uppercase
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)
--
926906: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=926906
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: libc6: range of cyrillic lowercase letters matches also uppercase
- From: aleksandr barakin <a@barak.in>
- Date: Fri, 12 Apr 2019 03:45:27 +0300
- Message-id: <E1hEkJr-000AJ9-To@teta.barak.in>
Package: libc6
Version: 2.28-8
Severity: normal
Dear Maintainer, new version (2.28) of libc6 contains collation error.
expected behaviour:
$ echo АБВабв | grep -o '[а-в]'
а
б
в
$ echo АБВабв | sed 's/[а-в]/-/g'
АБВ---
observed behaviour:
$ echo АБВабв | grep -o '[а-в]'
А
Б
а
б
в
$ echo АБВабв | sed 's/[а-в]/-/g'
--В---
this error is also observed in archlinux (libc-2.28) (see discussion in
russian: https://ru.stackoverflow.com/q/968618/178576)
additional info:
$ locale
LANG=
LANGUAGE=ru
LC_CTYPE="ru_RU.UTF-8"
LC_NUMERIC="ru_RU.UTF-8"
LC_TIME="ru_RU.UTF-8"
LC_COLLATE="ru_RU.UTF-8"
LC_MONETARY="ru_RU.UTF-8"
LC_MESSAGES="ru_RU.UTF-8"
LC_PAPER="ru_RU.UTF-8"
LC_NAME="ru_RU.UTF-8"
LC_ADDRESS="ru_RU.UTF-8"
LC_TELEPHONE="ru_RU.UTF-8"
LC_MEASUREMENT="ru_RU.UTF-8"
LC_IDENTIFICATION="ru_RU.UTF-8"
LC_ALL=ru_RU.UTF-8
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-8-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=UTF-8) (ignored: LC_ALL set to ru_RU.UTF-8), LANGUAGE=C (charmap=UTF-8) (ignored: LC_ALL set to ru_RU.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: unable to detect
Versions of packages libc6 depends on:
ii libgcc1 1:8.3.0-5
Versions of packages libc6 recommends:
ii libidn2-0 2.0.5-1
Versions of packages libc6 suggests:
ii debconf [debconf-2.0] 1.5.71
pn glibc-doc <none>
ii libc-l10n 2.28-8
ii locales 2.28-8
-- debconf information excluded
--- End Message ---
--- Begin Message ---
- To: aleksandr barakin <a@barak.in>, 926906-done@bugs.debian.org
- Subject: Re: Bug#926906: libc6: range of cyrillic lowercase letters matches also uppercase
- From: Aurelien Jarno <aurelien@aurel32.net>
- Date: Tue, 20 Aug 2019 14:37:00 +0200
- Message-id: <20190820123700.GA23914@aurel32.net>
- In-reply-to: <E1hEkJr-000AJ9-To@teta.barak.in>
- References: <E1hEkJr-000AJ9-To@teta.barak.in>
On 2019-04-12 03:45, aleksandr barakin wrote:
> Package: libc6
> Version: 2.28-8
> Severity: normal
>
> Dear Maintainer, new version (2.28) of libc6 contains collation error.
>
> expected behaviour:
> $ echo АБВабв | grep -o '[а-в]'
> а
> б
> в
> $ echo АБВабв | sed 's/[а-в]/-/g'
> АБВ---
>
> observed behaviour:
> $ echo АБВабв | grep -o '[а-в]'
> А
> Б
> а
> б
> в
> $ echo АБВабв | sed 's/[а-в]/-/g'
> --В---
>
> this error is also observed in archlinux (libc-2.28) (see discussion in
> russian: https://ru.stackoverflow.com/q/968618/178576)
Please see the answer from upstream there:
https://sourceware.org/bugzilla/show_bug.cgi?id=23393#c41
In short the range in any non-POSIX/C locale is undefined, so there is
no bug. I am therefore closing it.
--
Aurelien Jarno GPG: 4096R/1DDD8C9B
aurelien@aurel32.net http://www.aurel32.net
--- End Message ---
Reply to: