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

-Uusedl - Re: [perl.git] branch blead, updated.v5.15.7-324-g8129bac

Thread Next
From:
Tony Cook
Date:
February 19, 2012 03:08
Subject:
-Uusedl - Re: [perl.git] branch blead, updated.v5.15.7-324-g8129bac
Message ID:
20120219110826.GA13608@mars.tony.develop-help.com
On Thu, Feb 09, 2012 at 06:14:43PM +0100, Karl Williamson wrote:
> commit a3e1f3a6180fe54649735a678cb15de8aaacf5e9
> Author: Karl Williamson <public@khwilliamson.com>
> Date:   Fri Feb 3 22:01:03 2012 -0700
> 
>     regcomp.c: Use compile-time invlists
>     
>     This creates three simple compile-time inversion lists from the data
>     that has been generated in a previous commit, and uses two of them.
>     Three PL_ variables are used to store them.

This broke -Uusedl builds, since the raw inversion lists are defined
as global symbols in both regcomp.c and re_comp.c.

The attached patch avoids the issue, and all tests pass, but it would
fail horribly if no regular expressions were compiled before one was
compiled under the influence of re.pm.

Currently re.pm includes some regular expressions, so we can be pretty
sure they will for now, but if the load of re.$(so) were moved to a
BEGIN block that might change.

Tony

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