summaryrefslogtreecommitdiff
path: root/mathoms.c
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2016-08-11 18:12:40 -0700
committerFather Chrysostomos <sprout@cpan.org>2016-08-11 18:50:37 -0700
commit6338d1c60a3bbc09511d831c69e41da60748aca7 (patch)
treec2765c7df88d4e4eb2f3e88c41a7a30cf7c8c4d6 /mathoms.c
parentf672247cb0dd3e05a45c951d2be56e1700621a01 (diff)
downloadperl-6338d1c60a3bbc09511d831c69e41da60748aca7.tar.gz
mathoms.c: Restore previous behaviour of sv_copypv
This commit made it a simple wrapper around the new sv_copypv_flags: commit 4bac9ae47b5ad7845a24e26b0e95609805de688a Author: Chip Salzenberg <chip@pobox.com> Date: Fri Jun 22 15:18:18 2012 -0700 Magic flags harmonization. But in so doing it changed the behaviour of the functional version (Perl_sv_copypv), while preserving the existing behaviour in the new macro (sv_copypv). The latter invokes get-magic, while the former used to but stopped doing so.
Diffstat (limited to 'mathoms.c')
-rw-r--r--mathoms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mathoms.c b/mathoms.c
index 880d0cd284..1480186f69 100644
--- a/mathoms.c
+++ b/mathoms.c
@@ -1183,7 +1183,7 @@ Perl_sv_copypv(pTHX_ SV *const dsv, SV *const ssv)
{
PERL_ARGS_ASSERT_SV_COPYPV;
- sv_copypv_flags(dsv, ssv, 0);
+ sv_copypv_flags(dsv, ssv, SV_GMAGIC);
}
UV /* Made into a function, so can be deprecated */