diff options
author | Father Chrysostomos <sprout@cpan.org> | 2016-08-11 18:12:40 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2016-08-11 18:50:37 -0700 |
commit | 6338d1c60a3bbc09511d831c69e41da60748aca7 (patch) | |
tree | c2765c7df88d4e4eb2f3e88c41a7a30cf7c8c4d6 /mathoms.c | |
parent | f672247cb0dd3e05a45c951d2be56e1700621a01 (diff) | |
download | perl-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 */ |