summaryrefslogtreecommitdiff
path: root/op.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-01-21 12:18:29 +0000
committerNicholas Clark <nick@ccl4.org>2009-01-21 12:18:29 +0000
commitdef18e4c9fd5eb589bbb50de256bb350e973ea47 (patch)
treef446de2e40ace658e3640df19c474517280723c0 /op.c
parent54d012c665eb635f1e4fac1f1ec5aba1229ad9ca (diff)
downloadperl-def18e4c9fd5eb589bbb50de256bb350e973ea47.tar.gz
Change 54d012c665eb635f1e4fac1f1ec5aba1229ad9ca was only tested threaded. Oops.
Diffstat (limited to 'op.c')
-rw-r--r--op.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/op.c b/op.c
index 444ee3b55f..e32cbdb4c6 100644
--- a/op.c
+++ b/op.c
@@ -5962,7 +5962,7 @@ Perl_newCONSTSUB(pTHX_ HV *stash, const char *name, SV *sv)
const char *const file = CopFILE(PL_curcop);
#else
SV *const temp_sv = CopFILESV(PL_curcop);
- const char *const file = temp_sv ? SvPV_const_nolen(temp_sv) : NULL;
+ const char *const file = temp_sv ? SvPV_nolen_const(temp_sv) : NULL;
#endif
ENTER;