diff options
author | Perl 5 Porters <perl5-porters@africa.nicoh.com> | 1996-09-01 22:00:43 +0000 |
---|---|---|
committer | Andy Dougherty <doughera@lafcol.lafayette.edu> | 1996-09-01 22:00:43 +0000 |
commit | f967eb5f7ea656df97e47541e42689728310e560 (patch) | |
tree | ecc5c7bba743513bb24a37d307e0e84e8839d16e /op.c | |
parent | a26b07455ad7b4e24ed0c8c0c352c4cfa06b15ec (diff) | |
download | perl-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |