diff options
author | Nicholas Clark <nick@ccl4.org> | 2009-01-21 12:18:29 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2009-01-21 12:18:29 +0000 |
commit | def18e4c9fd5eb589bbb50de256bb350e973ea47 (patch) | |
tree | f446de2e40ace658e3640df19c474517280723c0 /op.c | |
parent | 54d012c665eb635f1e4fac1f1ec5aba1229ad9ca (diff) | |
download | perl-def18e4c9fd5eb589bbb50de256bb350e973ea47.tar.gz |
Change 54d012c665eb635f1e4fac1f1ec5aba1229ad9ca was only tested threaded. Oops.
Diffstat (limited to 'op.c')
-rw-r--r-- | op.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |