grep-devel
[Top][All Lists]
Advanced

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

Re: grep-3.3.42-088f test results on AIX


From: Paul Eggert
Subject: Re: grep-3.3.42-088f test results on AIX
Date: Wed, 25 Dec 2019 15:08:35 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2

On 12/24/19 2:39 PM, Jim Meyering wrote:
> Thanks. This summarizes the problems on that system:
> # An invalid multibyte-sequence *is* matched by "." (it should not be):
> $ printf '\351' |LC_ALL=en_US.UTF-8 src/grep .; echo $?

That problem is in /bin/sh's printf command, not in grep. In a UTF-8 locale
"printf '\351'" outputs the bytes C3, A9 rather than the desired E9; apparently
printf is taking the \351 to be a character rather than the byte that POSIX
requires. I installed the attached patch to work around the problem. I also
installed a patch to autoconf to document the printf glitch
<http://git.savannah.gnu.org/cgit/autoconf.git/commit/?id=a9f5544ff60bcc113253861f463471b169def545>.

The remaining test failure on AIX 7.2 is surrogate-pair; perhaps I'll be able to
suss that one out too.

Attachment: 0001-tests-work-around-AIX-7.2-sh-printf-bug.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]