summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2005-06-30 12:28:55 +0000
committerNicholas Clark <nick@ccl4.org>2005-06-30 12:28:55 +0000
commit184f32ecbaf38a072f9e20a9a51f7eed11d1b589 (patch)
tree91bc516ca51e7d66a24779bfb94564d1f985ed72 /perl.c
parent4d88e5a6b5afa2bc8a200fc139b28141ef9b7215 (diff)
downloadperl-184f32ecbaf38a072f9e20a9a51f7eed11d1b589.tar.gz
The core shouldn't be using PL_na
p4raw-id: //depot/perl@25024
Diffstat (limited to 'perl.c')
-rw-r--r--perl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl.c b/perl.c
index 89d32a8b71..5b3b7774ec 100644
--- a/perl.c
+++ b/perl.c
@@ -2934,7 +2934,7 @@ Perl_moreswitches(pTHX_ char *s)
sv_catpv(sv, "})");
}
s += strlen(s);
- my_setenv("PERL5DB", SvPV(sv, PL_na));
+ my_setenv("PERL5DB", SvPV_nolen_const(sv));
}
if (!PL_perldb) {
PL_perldb = PERLDB_ALL;