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 <[email protected]>
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

Reply via email to