In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/069689156823734d3af603278e2629028f1f9e54?hp=a9cb10c376533cb82419abb1088d64b7d1f3cdb2>

- Log -----------------------------------------------------------------
commit 069689156823734d3af603278e2629028f1f9e54
Author: David Mitchell <[email protected]>
Date:   Wed Jul 13 12:46:34 2016 +0100

    fix removal of PL_(lex_)encoding under threads
    
    PL_encoding and PL_lex_encoding have just been removed, but usage of them
    remained in perl_clone_using(), which broke threaded builds.
-----------------------------------------------------------------------

Summary of changes:
 sv.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/sv.c b/sv.c
index 0cd0f6b..00a7067 100644
--- a/sv.c
+++ b/sv.c
@@ -14929,9 +14929,6 @@ perl_clone_using(PerlInterpreter *proto_perl, UV flags,
 
     /* magical thingies */
 
-    PL_encoding                = sv_dup(proto_perl->Iencoding, param);
-    PL_lex_encoding     = sv_dup(proto_perl->Ilex_encoding, param);
-
     sv_setpvs(PERL_DEBUG_PAD(0), "");  /* For regex debugging. */
     sv_setpvs(PERL_DEBUG_PAD(1), "");  /* ext/re needs these */
     sv_setpvs(PERL_DEBUG_PAD(2), "");  /* even without DEBUGGING. */

--
Perl5 Master Repository

Reply via email to