diff options
author | Nicholas Clark <nick@ccl4.org> | 2005-05-10 15:38:07 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2005-05-10 15:38:07 +0000 |
commit | c69006e4a4556d3b1d6e1a57c49a95b1d16efeb0 (patch) | |
tree | 98297c1327e41049d27edc7b25511919e0ad2f2b /mg.c | |
parent | ea6e9374082ba65411b39d56a62387c8a2bd2879 (diff) | |
download | perl-c69006e4a4556d3b1d6e1a57c49a95b1d16efeb0.tar.gz |
s/sv_setpv(sv,"")/sv_setpvn(sv,"",0)/
plus a couple of 1 byte sv_setpv()s too.
p4raw-id: //depot/perl@24439
Diffstat (limited to 'mg.c')
-rw-r--r-- | mg.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -608,7 +608,7 @@ Perl_magic_get(pTHX_ SV *sv, MAGIC *mg) if (sys$getmsg(vaxc$errno,&msgdsc.dsc$w_length,&msgdsc,0,0) & 1) sv_setpvn(sv,msgdsc.dsc$a_pointer,msgdsc.dsc$w_length); else - sv_setpv(sv,""); + sv_setpvn(sv,"",0); } #else #ifdef OS2 @@ -634,7 +634,7 @@ Perl_magic_get(pTHX_ SV *sv, MAGIC *mg) PerlProc_GetOSError(sv, dwErr); } else - sv_setpv(sv, ""); + sv_setpvn(sv, "", 0); SetLastError(dwErr); } #else |