diff options
author | Doug MacEachern <dougm@covalent.net> | 2001-05-11 09:52:29 -0700 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-05-12 03:37:00 +0000 |
commit | 50762d599a70539e068604b244288cd8a1dd3ee1 (patch) | |
tree | 968d72f2786a9759b0d2d1d0de88cf7b4df0fb81 /op.c | |
parent | 1a2d385905f5986a5909cca4b74c6bc6bca7d9a5 (diff) | |
download | perl-50762d599a70539e068604b244288cd8a1dd3ee1.tar.gz |
Re: undef(&foo) does not work for XS functions
Message-ID: <Pine.LNX.4.21.0105111647240.4478-100000@mako.covalent.net>
p4raw-id: //depot/perl@10088
Diffstat (limited to 'op.c')
-rw-r--r-- | op.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -4216,6 +4216,9 @@ Perl_cv_undef(pTHX_ CV *cv) } CvPADLIST(cv) = Nullav; } + if (CvXSUB(cv)) { + CvXSUB(cv) = 0; + } CvFLAGS(cv) = 0; } |