projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
bedebaa
)
Forget prototype of subroutine after C<undef &subr>
Chip Salzenberg [Thu, 24 Apr 1997 14:34:21 +0000 (
02:34
+1200)]
op.c
patch
|
blob
|
blame
|
history
diff --git
a/op.c
b/op.c
index
cf78f86
..
af7ec8b
100644
(file)
--- a/
op.c
+++ b/
op.c
@@
-2930,6
+2930,7
@@
CV *cv;
CvROOT(cv) = Nullop;
LEAVE;
}
+ SvPOK_off((SV*)cv); /* forget prototype */
CvFLAGS(cv) = 0;
SvREFCNT_dec(CvGV(cv));
CvGV(cv) = Nullgv;