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 /vutil.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 'vutil.c')
-rw-r--r-- | vutil.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -533,7 +533,7 @@ Perl_new_version(pTHX_ SV *ver) under = ninstr(raw, raw+len, underscore, underscore + 1); if (under) { Move(under + 1, under, raw + len - under - 1, char); - SvCUR(rv)--; + SvCUR_set(rv, SvCUR(rv) - 1); *SvEND(rv) = '\0'; } /* this is for consistency with the pure Perl class */ |