Retract #8902 for now, requested by Charles Lane, the correct
Jarkko Hietaniemi [Fri, 23 Feb 2001 19:31:38 +0000 (19:31 +0000)]
fix will be something else.

p4raw-id: //depot/perl@8914

op.c

diff --git a/op.c b/op.c
index 0ba050d..ab9d7b1 100644 (file)
--- a/op.c
+++ b/op.c
@@ -4154,6 +4154,7 @@ Perl_cv_undef(pTHX_ CV *cv)
        LEAVE;
     }
     SvPOK_off((SV*)cv);                /* forget prototype */
+    CvFLAGS(cv) = 0;
     CvGV(cv) = Nullgv;
     SvREFCNT_dec(CvOUTSIDE(cv));
     CvOUTSIDE(cv) = Nullcv;
@@ -4182,7 +4183,6 @@ Perl_cv_undef(pTHX_ CV *cv)
        }
        CvPADLIST(cv) = Nullav;
     }
-    CvFLAGS(cv) = 0;
 }
 
 #ifdef DEBUG_CLOSURES