[PATCH] Fix posix/tst-regex by using ISO-8859 encoding for ChangeLog.8.

Stefan Liebler stli@linux.ibm.com
Tue Aug 27 10:20:00 GMT 2019


On 8/26/19 5:06 PM, Zack Weinberg wrote:
> On Mon, Aug 26, 2019 at 10:41 AM Stefan Liebler <stli@linux.ibm.com> wrote:
>> the recent commit e6855a3bdfe147c52b29b5e7d70a95a8aa22ece0
>> changed the encoding of ChangeLog.old/ChangeLog.8 from ISO-8859 to UTF-8.
>> Unfortunately the test posix/tst-regex assumes the former encoding.
>>
>> This patch just changes the encoding back to ISO-8859.
>> Furthermore Francesco Potortì is now written with 'ì' instead of 'i`'
>> which leads to two further matches in the first call to test_expr.
> 
> Better the test should be fixed to assume UTF-8, or, even better, not
> to rely on ChangeLog files for test data.
> 
> zw
> 

Sure. Sounds fair.
I've copied the old ChangeLog.8 file and use it as a dedicated 
input-file for tst-regex. See attached patch.

Bye
Stefan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20190827_tst_regex.patch
Type: text/x-patch
Size: 448953 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20190827/e63d0486/attachment.bin>


More information about the Libc-alpha mailing list