projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
cd477a6
)
pp_send() doesn't need to allocate 1000 stack slots for syswrite $tiedhandle, $buf
Vincent Pit [Sat, 7 Feb 2009 14:17:04 +0000 (15:17 +0100)]
pp_sys.c
patch
|
blob
|
blame
|
history
diff --git
a/pp_sys.c
b/pp_sys.c
index
0d2c970
..
08c1f83
100644
(file)
--- a/
pp_sys.c
+++ b/
pp_sys.c
@@
-1818,9
+1818,8
@@
PP(pp_send)
SV *sv;
if (MARK == SP - 1) {
- EXTEND(SP, 1000);
- sv = sv_2mortal(newSViv(sv_len(*SP)));
- PUSHs(sv);
+ sv = *SP;
+ mXPUSHi(sv_len(sv));
PUTBACK;
}