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

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 ---
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 ---
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: