diff options
author | Dagfinn Ilmari Mannsåker <ilmari@ilmari.org> | 2017-10-19 10:48:49 +0100 |
---|---|---|
committer | Dagfinn Ilmari Mannsåker <ilmari@ilmari.org> | 2019-05-28 13:43:53 +0100 |
commit | 2324bdb9a8664e4dd5b50ba32a17f9794126d2fd (patch) | |
tree | 80b85093ec20157ecba89ef7746558611eea37a6 /pp.c | |
parent | 0478e945a30d8c53408e52b0e5844af899471b96 (diff) | |
download | perl-2324bdb9a8664e4dd5b50ba32a17f9794126d2fd.tar.gz |
Remove remaining assignments to SvCUR and SvLEN in core
Also make the macros non-lvalues under PERL_CORE
Diffstat (limited to 'pp.c')
-rw-r--r-- | pp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2543,7 +2543,7 @@ S_scomplement(pTHX_ SV *targ, SV *sv) if (len && ! utf8_to_bytes(tmps, &len)) { Perl_croak(aTHX_ FATAL_ABOVE_FF_MSG, PL_op_desc[PL_op->op_type]); } - SvCUR(TARG) = len; + SvCUR_set(TARG, len); SvUTF8_off(TARG); } |