summaryrefslogtreecommitdiff
path: root/pp_ctl.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 /pp_ctl.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 'pp_ctl.c')
-rw-r--r--pp_ctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pp_ctl.c b/pp_ctl.c
index 10e3370359..51180cf8fa 100644
--- a/pp_ctl.c
+++ b/pp_ctl.c
@@ -2971,7 +2971,7 @@ S_doeval(pTHX_ int gimme, OP** startop, CV* outside, U32 seq)
}
else {
if (!*msg) {
- sv_setpv(ERRSV, "Compilation error");
+ sv_setpvs(ERRSV, "Compilation error");
}
}
PERL_UNUSED_VAR(newsp);