diff options
author | David Mitchell <davem@iabyn.com> | 2015-03-19 20:35:57 +0000 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2015-03-30 12:05:23 +0100 |
commit | 2782061f5102a81e1eae39cce864ce172fbea63d (patch) | |
tree | 2cedd6da70fe22fdcd3ff1ffc740e1114723ca24 /sv.c | |
parent | 7c6e85ad045c7a9841bf1c62d1dd22bf1705a168 (diff) | |
download | perl-2782061f5102a81e1eae39cce864ce172fbea63d.tar.gz |
Revert "Don’t call save_re_context"
This reverts commit d28a9254e445aee7212523d9a7ff62ae0a743fec.
Turns out we need save_re_context() after all
Diffstat (limited to 'sv.c')
-rw-r--r-- | sv.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -15286,6 +15286,7 @@ Perl_sv_recode_to_utf8(pTHX_ SV *sv, SV *encoding) nsv = sv_newmortal(); SvSetSV_nosteal(nsv, sv); } + save_re_context(); PUSHMARK(sp); EXTEND(SP, 3); PUSHs(encoding); @@ -15356,6 +15357,7 @@ Perl_sv_cat_decode(pTHX_ SV *dsv, SV *encoding, dSP; ENTER; SAVETMPS; + save_re_context(); PUSHMARK(sp); EXTEND(SP, 6); PUSHs(encoding); |