diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1998-10-16 01:58:58 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1998-10-16 01:58:58 +0000 |
commit | 6abf89b4e9a0a870d17be970dcc7a8f13ab38696 (patch) | |
tree | cfee5f08ab3e739c67799faf80d07f9e775e1c7f /op.c | |
parent | 87671ffc0b0ccacb922794ca8606103dc9023688 (diff) | |
parent | f0fe56f1f136d50257a26fd1501fffbb95be284e (diff) | |
download | perl-6abf89b4e9a0a870d17be970dcc7a8f13ab38696.tar.gz |
integrate cfgperl mods into mainline
p4raw-id: //depot/perl@1978
Diffstat (limited to 'op.c')
-rw-r--r-- | op.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -3838,9 +3838,10 @@ newSUB(I32 floor, OP *o, OP *proto, OP *block) CvSTASH(cv) = PL_curstash; #ifdef USE_THREADS CvOWNER(cv) = 0; - if (!CvMUTEXP(cv)) + if (!CvMUTEXP(cv)) { New(666, CvMUTEXP(cv), 1, perl_mutex); - MUTEX_INIT(CvMUTEXP(cv)); + MUTEX_INIT(CvMUTEXP(cv)); + } #endif /* USE_THREADS */ if (ps) |