Try to fix largefileness so that it "works" without a quad IV.
[p5sagit/p5-mst-13.2.git] / run.c
diff --git a/run.c b/run.c
index a6391e9..1c44f05 100644 (file)
--- a/run.c
+++ b/run.c
@@ -22,7 +22,9 @@ Perl_runops_standard(pTHX)
 {
     dTHR;
 
-    while ( PL_op = CALL_FPTR(PL_op->op_ppaddr)(aTHX) ) ;
+    while ( PL_op = CALL_FPTR(PL_op->op_ppaddr)(aTHX) ) {
+       PERL_ASYNC_CHECK();
+    }
 
     TAINT_NOT;
     return 0;
@@ -40,6 +42,7 @@ Perl_runops_debug(pTHX)
     }
 
     do {
+       PERL_ASYNC_CHECK();
        if (PL_debug) {
            if (PL_watchaddr != 0 && *PL_watchaddr != PL_watchok)
                PerlIO_printf(Perl_debug_log,
@@ -71,9 +74,9 @@ Perl_debop(pTHX_ OP *o)
        break;
     case OP_GVSV:
     case OP_GV:
-       if (cSVOPo->op_sv) {
+       if (cGVOPo) {
            sv = NEWSV(0,0);
-           gv_fullname3(sv, (GV*)cSVOPo->op_sv, Nullch);
+           gv_fullname3(sv, cGVOPo, Nullch);
            PerlIO_printf(Perl_debug_log, "(%s)", SvPV(sv, n_a));
            SvREFCNT_dec(sv);
        }