This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
io/sem.t: eliminate warnings
[perl5.git]
/
toke.c
diff --git
a/toke.c
b/toke.c
index
64550fa
..
9dcc7c3
100644
(file)
--- a/
toke.c
+++ b/
toke.c
@@
-11340,7
+11340,7
@@
Perl_scan_str(pTHX_ char *start, int keep_bracketed_quoted, int keep_delims, int
/* if we allocated too much space, give some back */
if (SvCUR(sv) + 5 < SvLEN(sv)) {
SvLEN_set(sv, SvCUR(sv) + 1);
- SvPV_
renew(sv, SvLEN(sv)
);
+ SvPV_
shrink_to_cur(sv
);
}
/* decide whether this is the first or second quoted string we've read