projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bedebaa
)
Forget prototype of subroutine after C<undef &subr>
author
Chip Salzenberg
<chip@perl.com>
Thu, 24 Apr 1997 14:34:21 +0000
(
02:34
+1200)
committer
Chip Salzenberg
<chip@atlantic.net>
Wed, 30 Apr 1997 12:00:00 +0000
(
00:00
+1200)
op.c
patch
|
blob
|
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;