diff options
author | Steve Peters <steve@fisharerojo.org> | 2005-04-20 01:27:20 -0500 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2005-04-20 13:51:54 +0000 |
commit | 87a1ef3dbc71790d3dec7643306775e0d1e4768a (patch) | |
tree | 2c16cb1d368f45d3771e5d57065ec0d7f74dc419 /malloc.c | |
parent | bd4b1eb5b0b53616d16d03ba8f6aedf325adfa1d (diff) | |
download | perl-87a1ef3dbc71790d3dec7643306775e0d1e4768a.tar.gz |
Refactoring to Sv*_set() macros - patch #6
Message-ID: <20050420112720.GA31042@mccoy.peters.homeunix.org>
Date: Wed, 20 Apr 2005 06:27:20 -0500
p4raw-id: //depot/perl@24260
Diffstat (limited to 'malloc.c')
-rw-r--r-- | malloc.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1176,7 +1176,8 @@ perl_get_emergency_buffer(IV *size) SvPOK_off(sv); SvPV_set(sv, Nullch); - SvCUR(sv) = SvLEN(sv) = 0; + SvCUR_set(sv, 0); + SvLEN_set(sv, 0); *size = malloced_size(pv) + M_OVERHEAD; return pv - sizeof(union overhead); } |