Revert SvPVX() to allow lvalue usage, but also add a
authorMarcus Holland-Moritz <mhx-perl@gmx.net>
Fri, 7 Nov 2008 22:33:39 +0000 (22:33 +0000)
committerMarcus Holland-Moritz <mhx-perl@gmx.net>
Fri, 7 Nov 2008 22:33:39 +0000 (22:33 +0000)
commitd2c6dc5ee586de7e57a1fe8c160cf7c8aaf3f3f8
treea327fc3bbaaeba3b7d394962e7685591b50033be
parentda7fcca4b8d6fb4dc88e0305bf9830bf24912ebd
Revert SvPVX() to allow lvalue usage, but also add a
MUTABLE_SV() check. Use SvPVX_const() instead of SvPVX()
where only a const SV* is available. Also fix two falsely
consted pointers in Perl_sv_2pv_flags().

p4raw-id: //depot/perl@34770
op.c
regexec.c
regexp.h
sv.c
sv.h