diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2001-08-31 21:02:54 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2001-08-31 21:02:54 +0000 |
commit | 06039172f345fd0b8aaa2a469ee190f34bf73239 (patch) | |
tree | 5a6eafe3fd61f65d0b7b9b65acc79f7b07ed9ce4 /perl.c | |
parent | acfe0abcedaf592fb4b9cb69ce3468308ae99d91 (diff) | |
download | perl-06039172f345fd0b8aaa2a469ee190f34bf73239.tar.gz |
integrate change#11801 from maint-5.6
remove age-old UNICOS "workaround" that introduces a static, and
hence an egregious race condition for threaded builds (*sigh*
beats me why this kludge wasn't guarded by a UNICOS-specific
#define *sigh*)
p4raw-link: @11801 on //depot/maint-5.6/perl: 5af842af85d9b6d73b06373813fcf66e62026afd
p4raw-id: //depot/perl@11804
Diffstat (limited to 'perl.c')
-rw-r--r-- | perl.c | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -3297,16 +3297,10 @@ S_nuke_stacks(pTHX) Safefree(PL_retstack); } -#ifndef PERL_OBJECT -static PerlIO *tmpfp; /* moved outside init_lexer() because of UNICOS bug */ -#endif - STATIC void S_init_lexer(pTHX) { -#ifdef PERL_OBJECT - PerlIO *tmpfp; -#endif + PerlIO *tmpfp; tmpfp = PL_rsfp; PL_rsfp = Nullfp; lex_start(PL_linestr); |