This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
pp_formline: don't do get mg on PL_formtarget
authorDavid Mitchell <davem@iabyn.com>
Sat, 28 May 2011 14:59:05 +0000 (15:59 +0100)
committerDavid Mitchell <davem@iabyn.com>
Sun, 29 May 2011 19:21:53 +0000 (20:21 +0100)
commitacb25fddc9e86e87874ef43e6d2dd7a317e4bda7
treee457211f6f8527ddee233b3014f2d4ed41ac3a9f
parenta2c0032b06b9fa4a6d26a50dc6e736c05e4fcb09
pp_formline: don't do get mg on PL_formtarget

Two of the three branches that upgrade PL_formtarget to utf8 (FF_LITERAL,
FF_ITEM) do get magic while doing so, while the third (FF_LINEGLOB)
doesn't. I think the first two were just co-incidental
(they started out as simple sv_utf8_upgrade() calls added by
1bd51a4ce2ce8, and probably no consideration was given as to whether to
use the _nomg variant instead).

Make the first two no longer call magic, to be consistent with
FF_LINEGLOB.
pp_ctl.c