summaryrefslogtreecommitdiff
path: root/pp_sys.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-11-08 19:42:57 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-11-08 19:42:57 +0000
commit91500cfd5c426b5ce4db817d5b64c763d5b8822b (patch)
tree06148df1f82ee7bb548fabecb07061ebe03438e5 /pp_sys.c
parent4771b018b5cdc984c08bd1fd014895ea804ec3f0 (diff)
parent3541dd58afee4802e6d8771e6ed02e20cc107e31 (diff)
downloadperl-91500cfd5c426b5ce4db817d5b64c763d5b8822b.tar.gz
integrate cfgperl changes into mainline
p4raw-id: //depot/perl@2219
Diffstat (limited to 'pp_sys.c')
-rw-r--r--pp_sys.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/pp_sys.c b/pp_sys.c
index 96ecd5875c..8fa38f2860 100644
--- a/pp_sys.c
+++ b/pp_sys.c
@@ -1467,8 +1467,10 @@ PP(pp_syswrite)
djSP;
int items = (SP - PL_stack_base) - TOPMARK;
if (items == 2) {
+ SV *sv;
EXTEND(SP, 1);
- PUSHs(sv_2mortal(newSViv(sv_len(*SP))));
+ sv = sv_2mortal(newSViv(sv_len(*SP)));
+ PUSHs(sv);
PUTBACK;
}
return pp_send(ARGS);