develooper Front page | perl.perl5.porters | Postings from April 2012

[perl #112530] [rt.cpan.org #76373] Inversion list regression (Blead 36eb48b44 breaks Encode::JP::Mobile)

Thread Previous | Thread Next
From:
bug-Encode-JP-Mobile @ rt . cpan . org
Date:
April 21, 2012 10:49
Subject:
[perl #112530] [rt.cpan.org #76373] Inversion list regression (Blead 36eb48b44 breaks Encode::JP::Mobile)
Message ID:
rt-3.6.HEAD-4610-1334811663-1478.112530-75-0@perl.org
# New Ticket Created by  bug-Encode-JP-Mobile@rt.cpan.org 
# Please include the string:  [perl #112530]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=112530 >


<URL: https://rt.cpan.org/Ticket/Display.html?id=76373 >

On Wed Apr 18 23:31:39 2012, SPROUT wrote:
> But I’m still getting
> other test failures.

Which turn out to be a pretty serious perl regression:

$ perl5.15.9 -e 'sub InFoo { "a\tb\n9\ta\n" } "\0" =~ /\p{InFoo}/'
panic: attempting to append to an inversion list, but wasn't at the end of the list, final=11, 
start=10, match=f at -e line 1.

caused by this commit:

36eb48b449474e547f4a223443d342155b738cee is the first bad commit
commit 36eb48b449474e547f4a223443d342155b738cee
Author: Karl Williamson <public@khwilliamson.com>
Date:   Sat Nov 26 18:24:46 2011 -0700

    Utf8.c: Generate and use inversion lists for binary swashes

Before that commit, it was possible to specify overlapping ranges, and perl had no trouble 
with it.


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