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
In Perl_sv_grow(), no need to do PERL_STRLEN_ROUNDUP() if we have
[perl5.git]
/
sv.c
diff --git
a/sv.c
b/sv.c
index
03925a4
..
96ef7c8
100644
(file)
--- a/
sv.c
+++ b/
sv.c
@@
-1492,7
+1492,7
@@
Perl_sv_grow(pTHX_ register SV *const sv, register STRLEN newlen)
s = SvPVX_mutable(sv);
if (newlen > SvLEN(sv)) { /* need more room? */
-#ifndef
MYMALLOC
+#ifndef
Perl_safesysmalloc_size
newlen = PERL_STRLEN_ROUNDUP(newlen);
#endif
if (SvLEN(sv) && s) {