summaryrefslogtreecommitdiff
path: root/op.c
diff options
context:
space:
mode:
authorPerl 5 Porters <perl5-porters@africa.nicoh.com>1996-09-01 22:00:43 +0000
committerAndy Dougherty <doughera@lafcol.lafayette.edu>1996-09-01 22:00:43 +0000
commitf967eb5f7ea656df97e47541e42689728310e560 (patch)
treeecc5c7bba743513bb24a37d307e0e84e8839d16e /op.c
parenta26b07455ad7b4e24ed0c8c0c352c4cfa06b15ec (diff)
downloadperl-f967eb5f7ea656df97e47541e42689728310e560.tar.gz
perl 5.003_04: dump.c gv.c op.c pp_ctl.c pp_sys.c proto.h run.c
This patch changes neither behavior nor performance. However, it does reduce code size and improve maintainability by combining some common code in gv_fullname() and gv_efullname().
Diffstat (limited to 'op.c')
-rw-r--r--op.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/op.c b/op.c
index d008533dcc..9ee7e292bf 100644
--- a/op.c
+++ b/op.c
@@ -49,7 +49,7 @@ CvNAME(cv)
CV* cv;
{
SV* tmpsv = sv_newmortal();
- gv_efullname(tmpsv, CvGV(cv));
+ gv_efullname(tmpsv, CvGV(cv), Nullch);
return SvPV(tmpsv,na);
}
@@ -2975,7 +2975,7 @@ OP *block;
sv_catpv(sv,"-");
sprintf(buf,"%ld",(long)curcop->cop_line);
sv_catpv(sv,buf);
- gv_efullname(tmpstr,gv);
+ gv_efullname(tmpstr, gv, Nullch);
hv_store(GvHV(DBsub), SvPVX(tmpstr), SvCUR(tmpstr), sv, 0);
}
op_free(op);