summaryrefslogtreecommitdiff
path: root/pp_hot.c
diff options
context:
space:
mode:
authorChip Salzenberg <chip@pobox.com>2008-11-12 07:45:04 -0800
committerMarcus Holland-Moritz <mhx-perl@gmx.net>2008-11-13 05:47:34 +0000
commitaf7df2578e5aff079dd90eeab57a2a48fb1a43c0 (patch)
treea42bb3f442b701e38962f5707c68350cb3afb2fd /pp_hot.c
parentdf25d2ffed6470ee4093c2b22655779430fd807b (diff)
downloadperl-af7df2578e5aff079dd90eeab57a2a48fb1a43c0.tar.gz
Re: [perl #60360] [PATCH] UPDATED: local $SIG{FOO} = sub {...}; sets signal handler to SIG_DFL
Message-ID: <20081112234504.GI2062@tytlal.topaz.cx> Updated patch to retain source compatibility. Plus using the correct PERL_ARGS_ASSERT_SAVE_HELEM_FLAGS macro and running make regen. p4raw-id: //depot/perl@34829
Diffstat (limited to 'pp_hot.c')
-rw-r--r--pp_hot.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pp_hot.c b/pp_hot.c
index 4624fbb4e6..e22502f6ff 100644
--- a/pp_hot.c
+++ b/pp_hot.c
@@ -1828,7 +1828,8 @@ PP(pp_helem)
SAVEDELETE(hv, savepvn(key,keylen),
SvUTF8(keysv) ? -(I32)keylen : (I32)keylen);
} else
- save_helem(hv, keysv, svp, !(PL_op->op_flags & OPf_SPECIAL));
+ save_helem_flags(hv, keysv, svp,
+ (PL_op->op_flags & OPf_SPECIAL) ? 0 : SAVEf_SETMAGIC);
}
}
else if (PL_op->op_private & OPpDEREF)