diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 1999-11-11 19:48:21 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 1999-11-11 19:48:21 +0000 |
commit | 8a12f161a3a8b8cc9c866a9f342b9476fb0b9b95 (patch) | |
tree | f7d97a5034e7bcae78537a54f77a0067f572f6aa /pp.c | |
parent | 887d29384f0bc4b6197573ce19ff42abfe67fa51 (diff) | |
parent | 11faa288e292c27cb2ddc4ccdc483b523d26ce19 (diff) | |
download | perl-8a12f161a3a8b8cc9c866a9f342b9476fb0b9b95.tar.gz |
Integrate with Sarathy.
p4raw-id: //depot/cfgperl@4549
Diffstat (limited to 'pp.c')
-rw-r--r-- | pp.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -254,7 +254,7 @@ PP(pp_rv2gv) } } } - gv_init(gv, PL_curcop->cop_stash, name, len, 0); + gv_init(gv, CopSTASH(PL_curcop), name, len, 0); sv_upgrade(sv, SVt_RV); SvRV(sv) = (SV *) gv; SvROK_on(sv); @@ -581,7 +581,7 @@ PP(pp_bless) HV *stash; if (MAXARG == 1) - stash = PL_curcop->cop_stash; + stash = CopSTASH(PL_curcop); else { SV *ssv = POPs; STRLEN len; @@ -854,7 +854,7 @@ PP(pp_undef) Newz(602, gp, 1, GP); GvGP(sv) = gp_ref(gp); GvSV(sv) = NEWSV(72,0); - GvLINE(sv) = PL_curcop->cop_line; + GvLINE(sv) = CopLINE(PL_curcop); GvEGV(sv) = (GV*)sv; GvMULTI_on(sv); } |