--- Begin Message ---
Subject: |
[regression] [d-f] no longer includes e with acute accent in single-byte locales |
Date: |
Sun, 20 Nov 2016 21:14:31 +0000 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Hello,
In grep 2.26,
echo é | grep '[d-f]'
no longer matches in locales like address@hidden or
en_GB.iso88591 where the character set is single-byte like
ISO-8859-1. It still works OK with UTF-8.
2.25 was OK. git bisect points to commit
2769d5331a38d623b67b1860ac46b39ff7e54aca
Reproduce with:
printf '\351\n' | LC_ALL=en_US.iso88591 ./src/grep '[d-f]' || echo fail
(assuming that locale is available on the system).
Tested on Ubuntu 16.04 amd64.
--
Stephane
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#24973: [regression] [d-f] no longer includes e with acute accent in single-byte locales |
Date: |
Sun, 20 Nov 2016 20:34:35 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 |
Stephane Chazelas wrote:
2.25 was OK. git bisect points to commit
2769d5331a38d623b67b1860ac46b39ff7e54aca
Thanks for pinpointing the bug. It was my logic error in that commit. Fixed by
altering Gnulib as follows:
http://lists.gnu.org/archive/html/bug-gnulib/2016-11/msg00086.html
and by installing the attached patches into grep.
0001-build-update-gnulib-submodule-to-latest.patch
Description: Text Data
0002-tests-check-for-unibyte-French-range-bug.patch
Description: Text Data
--- End Message ---