diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2000-03-17 05:42:45 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2000-03-17 05:42:45 +0000 |
commit | a57ec3bdcb98fc06a1394f7189e7b71cb95e9732 (patch) | |
tree | 6f287ebb48166f3baaeaf1a8cd72daccd33eeecb /op.c | |
parent | 200f06d0560bb35c44d4f11900efe1b9030aadea (diff) | |
download | perl-a57ec3bdcb98fc06a1394f7189e7b71cb95e9732.tar.gz |
propagate CvFLAGS() into clones
p4raw-id: //depot/perl@5780
Diffstat (limited to 'op.c')
-rw-r--r-- | op.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -4151,9 +4151,8 @@ S_cv_clone2(pTHX_ CV *proto, CV *outside) cv = PL_compcv = (CV*)NEWSV(1104,0); sv_upgrade((SV *)cv, SvTYPE(proto)); + CvFLAGS(cv) = CvFLAGS(proto) & ~CVf_CLONE; CvCLONED_on(cv); - if (CvANON(proto)) - CvANON_on(cv); #ifdef USE_THREADS New(666, CvMUTEXP(cv), 1, perl_mutex); |