diff options
author | Nicholas Clark <nick@ccl4.org> | 2005-06-08 15:39:40 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2005-06-08 15:39:40 +0000 |
commit | 8b6b16e72bf4dd30bd09781ad50e9f66fd94440b (patch) | |
tree | e4f7d3a25be8a7b00eb3fc485a6669b2cde6206c /dump.c | |
parent | 13c5b33cae5690f108494286e4d841e38c57677d (diff) | |
download | perl-8b6b16e72bf4dd30bd09781ad50e9f66fd94440b.tar.gz |
Nuke some more n_a, and convert S_gv_ename from char * to const char *
p4raw-id: //depot/perl@24760
Diffstat (limited to 'dump.c')
-rw-r--r-- | dump.c | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -155,7 +155,6 @@ Perl_sv_peek(pTHX_ SV *sv) { dVAR; SV *t = sv_newmortal(); - STRLEN n_a; int unref = 0; sv_setpvn(t, "", 0); @@ -331,7 +330,7 @@ Perl_sv_peek(pTHX_ SV *sv) while (unref--) sv_catpv(t, ")"); } - return SvPV(t, n_a); + return SvPV_nolen(t); } void @@ -767,11 +766,11 @@ Perl_do_op_dump(pTHX_ I32 level, PerlIO *file, const OP *o) if ( ! PL_op->op_flags & OPf_SPECIAL) { /* not lexical */ if (cSVOPo->op_sv) { SV *tmpsv = NEWSV(0,0); - STRLEN n_a; ENTER; SAVEFREESV(tmpsv); gv_fullname3(tmpsv, (GV*)cSVOPo->op_sv, Nullch); - Perl_dump_indent(aTHX_ level, file, "GV = %s\n", SvPV(tmpsv, n_a)); + Perl_dump_indent(aTHX_ level, file, "GV = %s\n", + SvPV_const_nolen(tmpsv)); LEAVE; } else |