This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Integrate:
authorNicholas Clark <nick@ccl4.org>
Mon, 12 Sep 2005 21:21:39 +0000 (21:21 +0000)
committerNicholas Clark <nick@ccl4.org>
Mon, 12 Sep 2005 21:21:39 +0000 (21:21 +0000)
commit676a626cda7c01b054108a863daaae03a10ff3cd
tree730b1016b44067e0bc285ce2f5eb71189778705f
parent998caf32f0a8b580e8fa8a13b15e204110393e7d
Integrate:
[ 24348]
Add a new macro SvPV_free() which undoes OOK and free()s the PVX(),
becase there's a lot of code around that calls SvOOK_off(), memmov()s
the buffer, then promptly free()s it. So avoid the needless memmov().

[ 24351]
Refactor Perl_sv_utf8_upgrade_flags to use SvPV_free
p4raw-link: @24351 on //depot/perl: c4e7c7127c0c9e659689937dc3312255631d7334
p4raw-link: @24348 on //depot/perl: 8bd4d4c5ee440ccae167e2a7f5bf6f74ff02916b

p4raw-id: //depot/maint-5.8/perl@25394
p4raw-integrated: from //depot/perl@24348 'edit in' pp_ctl.c pp_hot.c
(@24271..) sv.c (@24344..) 'merge in' sv.h (@24277..) perl.c
(@24338..) pp.c (@24339..)
perl.c
pp.c
pp_ctl.c
pp_hot.c
sv.c
sv.h