diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1999-10-29 03:00:21 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1999-10-29 03:00:21 +0000 |
commit | 7934575e193741c310ddb7f01d6d07c9981c3d29 (patch) | |
tree | 9b9135ad0559f0da22a2bb159f0a38bb81777f07 /pp_sys.c | |
parent | a1f333424726116552fec059c74f91eae67b2820 (diff) | |
download | perl-7934575e193741c310ddb7f01d6d07c9981c3d29.tar.gz |
usurp GVOP slot for new PADOP (one small step to making optree
shareable across interpreters)
p4raw-id: //depot/perl@4484
Diffstat (limited to 'pp_sys.c')
-rw-r--r-- | pp_sys.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -411,7 +411,7 @@ PP(pp_indread) PP(pp_rcatline) { - PL_last_in_gv = cGVOP->op_gv; + PL_last_in_gv = (GV*)cSVOP->op_sv; return do_readline(); } @@ -2412,7 +2412,7 @@ PP(pp_stat) STRLEN n_a; if (PL_op->op_flags & OPf_REF) { - tmpgv = cGVOP->op_gv; + tmpgv = (GV*)cSVOP->op_sv; do_fstat: if (tmpgv != PL_defgv) { PL_laststype = OP_STAT; @@ -2857,7 +2857,7 @@ PP(pp_fttty) STRLEN n_a; if (PL_op->op_flags & OPf_REF) - gv = cGVOP->op_gv; + gv = (GV*)cSVOP->op_sv; else if (isGV(TOPs)) gv = (GV*)POPs; else if (SvROK(TOPs) && isGV(SvRV(TOPs))) @@ -2898,7 +2898,7 @@ PP(pp_fttext) STRLEN n_a; if (PL_op->op_flags & OPf_REF) - gv = cGVOP->op_gv; + gv = (GV*)cSVOP->op_sv; else if (isGV(TOPs)) gv = (GV*)POPs; else if (SvROK(TOPs) && isGV(SvRV(TOPs))) @@ -2949,7 +2949,7 @@ PP(pp_fttext) else { if (ckWARN(WARN_UNOPENED)) Perl_warner(aTHX_ WARN_UNOPENED, "Test on unopened file <%s>", - GvENAME(cGVOP->op_gv)); + GvENAME((GV*)cSVOP->op_sv)); SETERRNO(EBADF,RMS$_IFI); RETPUSHUNDEF; } |