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

[perl.git] branch blead updated. v5.29.8-66-geef8d518b9

From:
Dave Mitchell
Date:
March 12, 2019 07:26
Subject:
[perl.git] branch blead updated. v5.29.8-66-geef8d518b9
Message ID:
E1h3boB-0002vd-NV@git.dc.perl.space
In perl.git, the branch blead has been updated

<https://perl5.git.perl.org/perl.git/commitdiff/eef8d518b95b0221f81805d75bd63fbbf2995f3b?hp=ca6ebcd6405d5ab46fb0688c45dc44661698a7c0>

- Log -----------------------------------------------------------------
commit eef8d518b95b0221f81805d75bd63fbbf2995f3b
Author: David Mitchell <davem@iabyn.com>
Date:   Tue Mar 12 07:10:10 2019 +0000

    fix blead on non-threaded builds
    
    My recent v5.29.8-64-g02a9632ac4 commit broke unthreaded builds.
    This is the obvious fix. I've heard a report that unthreaded perl
    SEGVs now but can't reproduce.

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

Summary of changes:
 op.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/op.c b/op.c
index 4e49eeeedf..b4ba9c8f83 100644
--- a/op.c
+++ b/op.c
@@ -14716,8 +14716,8 @@ S_maybe_multideref(pTHX_ OP *start, OP *orig_o, UV orig_action, U8 hints)
                                                             pass);
                         }
 
-#ifdef USE_ITHREADS
                         if (pass) {
+#ifdef USE_ITHREADS
                             /* Relocate sv to the pad for thread safety */
                             op_relocate_sv(&cSVOPo->op_sv, &o->op_targ);
                             arg->pad_offset = o->op_targ;

-- 
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