develooper Front page | perl.perl5.changes | Postings from January 2019

[perl.git] branch smoke-me/jkeenan/tonyc/133782-set-magic created.v5.29.7-11-g51a972f3c3

From:
James Keenan
Date:
January 21, 2019 01:47
Subject:
[perl.git] branch smoke-me/jkeenan/tonyc/133782-set-magic created.v5.29.7-11-g51a972f3c3
Message ID:
E1glOft-0000Lz-TP@git.dc.perl.space
In perl.git, the branch smoke-me/jkeenan/tonyc/133782-set-magic has been created

<https://perl5.git.perl.org/perl.git/commitdiff/51a972f3c3bb1afb081573c9ab92f5a7fcb27382?hp=0000000000000000000000000000000000000000>

        at  51a972f3c3bb1afb081573c9ab92f5a7fcb27382 (commit)

- Log -----------------------------------------------------------------
commit 51a972f3c3bb1afb081573c9ab92f5a7fcb27382
Author: Tony Cook <tony@develop-help.com>
Date:   Mon Jan 21 11:41:03 2019 +1100

    (perl #133642) set magic when changing $^R
    
    The regexp engine sets and restores $^R in a few places, but didn't
    mg_set() (SvSETMAGIC()) it at all.
    
    Calls to length() on $^R, both within regexp code blocks and on
    a successful match could add utf8 length magic to $^R, and modifying
    $^R without mg_set() could leave now invalid length magic.

-----------------------------------------------------------------------

-- 
Perl5 Master Repository



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