projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
1a2d385
)
Re: undef(&foo) does not work for XS functions
Doug MacEachern [Fri, 11 May 2001 16:52:29 +0000 (09:52 -0700)]
Message-ID: <Pine.LNX.4.21.
0105111647240
.4478-100000@mako.covalent.net>
p4raw-id: //depot/perl@10088
op.c
patch
|
blob
|
blame
|
history
diff --git
a/op.c
b/op.c
index
77a6267
..
5a51f9b
100644
(file)
--- a/
op.c
+++ b/
op.c
@@
-4216,6
+4216,9
@@
Perl_cv_undef(pTHX_ CV *cv)
}
CvPADLIST(cv) = Nullav;
}
+ if (CvXSUB(cv)) {
+ CvXSUB(cv) = 0;
+ }
CvFLAGS(cv) = 0;
}