summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2001-08-31 21:02:54 +0000
committerGurusamy Sarathy <gsar@cpan.org>2001-08-31 21:02:54 +0000
commit06039172f345fd0b8aaa2a469ee190f34bf73239 (patch)
tree5a6eafe3fd61f65d0b7b9b65acc79f7b07ed9ce4 /perl.c
parentacfe0abcedaf592fb4b9cb69ce3468308ae99d91 (diff)
downloadperl-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.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/perl.c b/perl.c
index f78d9b7b1b..8cc88f2e52 100644
--- a/perl.c
+++ b/perl.c
@@ -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);