projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
extra code in pp_concat, Take 2
[p5sagit/p5-mst-13.2.git]
/
malloc.c
diff --git
a/malloc.c
b/malloc.c
index
fe5960b
..
de5766d
100644
(file)
--- a/
malloc.c
+++ b/
malloc.c
@@
-1175,8
+1175,9
@@
perl_get_emergency_buffer(IV *size)
}
SvPOK_off(sv);
- SvPVX(sv) = Nullch;
- SvCUR(sv) = SvLEN(sv) = 0;
+ SvPV_set(sv, Nullch);
+ SvCUR_set(sv, 0);
+ SvLEN_set(sv, 0);
*size = malloced_size(pv) + M_OVERHEAD;
return pv - sizeof(union overhead);
}