develooper Front page | perl.perl5.porters | Postings from February 2018

Re: [perl #132900] Blead Breaks CPAN: FELIPE/Crypt-Perl-0.17.tar.gz

Thread Previous | Thread Next
From:
Karl Williamson
Date:
February 23, 2018 04:52
Subject:
Re: [perl #132900] Blead Breaks CPAN: FELIPE/Crypt-Perl-0.17.tar.gz
Message ID:
4899661d-c43d-1ee0-88f5-1775e92f611a@khwilliamson.com
On 02/22/2018 05:11 PM, Zefram wrote:
> The failing dep isn't used by the failing test, so it's not too difficult
> to explore the intermediate versions.  The test passes on 5.27.8.
> The problem bisects to commit ab1efbdc1f74b2f4db076efa0b4d54f387d74efe
> "regexec.c: Use word-at-a-time to repeat a single byte pattern".
> The test case reduces to
> 
> $ perl5.27.8 -lwe 'print +("\x80" x 9) =~ m<\A\x80+\z> ? "yes" : "no"'
> yes
> $ perl5.27.9 -lwe 'print +("\x80" x 9) =~ m<\A\x80+\z> ? "yes" : "no"'
> no
> 
> Clearly a newly-introduced core bug.
> 
> -zefram
> 

Now fixed by 2b1f9c7143e15e2b934249f7fadadf156e31d40e
The cause was using a 'char' instead of the proper 'U8'.

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About