This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Make Perl_sv_utf8_upgrade* respect nomg
authorDavid Mitchell <davem@iabyn.com>
Sun, 6 Feb 2011 19:42:28 +0000 (19:42 +0000)
committerDavid Mitchell <davem@iabyn.com>
Sun, 6 Feb 2011 21:34:43 +0000 (21:34 +0000)
commit33fb6f35374f797590a5f7df9532ead893676812
tree2670d397d90b9ef9eb611825edd358f89a7e0bd0
parent572d598f754af334bea81530a84b95b5605fe3c4
Make Perl_sv_utf8_upgrade* respect nomg

One of the code paths in Perl_sv_utf8_upgrade_flags_grow() calls
SvPV_force(), regardless of whether the SV_GMAGIC flag is set or not,
which triggers an unconditional magic get.
sv.c