summaryrefslogtreecommitdiff
path: root/mg.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2007-02-02 22:10:39 +0000
committerNicholas Clark <nick@ccl4.org>2007-02-02 22:10:39 +0000
commit6502358f02d6c4ea5159a32e117a91663131f6af (patch)
tree78916cd82f44f8a73bb75941c4fddc06ae9b00f4 /mg.c
parent52e3301553fd75a357b90153aa727915aa35751e (diff)
downloadperl-6502358f02d6c4ea5159a32e117a91663131f6af.tar.gz
A few more places where we know the length for sv_setpv() or sv_catpv()
p4raw-id: //depot/perl@30101
Diffstat (limited to 'mg.c')
-rw-r--r--mg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mg.c b/mg.c
index a3e0f26b4b..ecd8ad5e52 100644
--- a/mg.c
+++ b/mg.c
@@ -1186,7 +1186,7 @@ Perl_magic_getsig(pTHX_ SV *sv, MAGIC *mg)
#endif
/* cache state so we don't fetch it again */
if(sigstate == (Sighandler_t) SIG_IGN)
- sv_setpv(sv,"IGNORE");
+ sv_setpvs(sv,"IGNORE");
else
sv_setsv(sv,&PL_sv_undef);
PL_psig_ptr[i] = SvREFCNT_inc_simple_NN(sv);