summaryrefslogtreecommitdiffstats
path: root/contrib/perl5/dump.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/perl5/dump.c')
-rw-r--r--contrib/perl5/dump.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/perl5/dump.c b/contrib/perl5/dump.c
index b1e984b..782c62d 100644
--- a/contrib/perl5/dump.c
+++ b/contrib/perl5/dump.c
@@ -1,6 +1,6 @@
/* dump.c
*
- * Copyright (c) 1991-1997, Larry Wall
+ * Copyright (c) 1991-1999, Larry Wall
*
* You may distribute under the terms of either the GNU General Public
* License or the Artistic License, as specified in the README file.
@@ -239,11 +239,12 @@ dump_op(OP *o)
case OP_GVSV:
case OP_GV:
if (cGVOPo->op_gv) {
+ STRLEN n_a;
SV *tmpsv = NEWSV(0,0);
ENTER;
SAVEFREESV(tmpsv);
gv_fullname3(tmpsv, cGVOPo->op_gv, Nullch);
- dump("GV = %s\n", SvPV(tmpsv, PL_na));
+ dump("GV = %s\n", SvPV(tmpsv, n_a));
LEAVE;
}
else
OpenPOWER on IntegriCloud