diff options
author | Vincent Pit <vince@profvince.com> | 2009-02-07 15:17:04 +0100 |
---|---|---|
committer | Vincent Pit <vince@profvince.com> | 2009-02-07 15:36:30 +0100 |
commit | 9b6474b65b5960c01431344dff68b19ec547ad06 (patch) | |
tree | a4e3ba835bb99886c2ee2cc9cc958c8f0058a2bd /pp_sys.c | |
parent | cd477a63b79827394e51e6698e1a59ee11fa4eeb (diff) | |
download | perl-9b6474b65b5960c01431344dff68b19ec547ad06.tar.gz |
pp_send() doesn't need to allocate 1000 stack slots for syswrite $tiedhandle, $buf
Diffstat (limited to 'pp_sys.c')
-rw-r--r-- | pp_sys.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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; } |