summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-06-27 08:18:47 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-06-27 08:18:47 +0000
commited085813cee9c22e7ad548a324c6d8f6d7d726d2 (patch)
treedc148ebb2f60ff10c8c65642ba482359e2bd324b /perl.c
parentaf419de789419c9e4520d33654a91564094b407a (diff)
downloadperl-ed085813cee9c22e7ad548a324c6d8f6d7d726d2.tar.gz
Use the PL_earlytaint. (PL_earlytaint is a global,
not per-interp, since perl_construct() is not passed the argc, argv, and therefore it can't set the per-interp PL_tainting.) p4raw-id: //depot/perl@19864
Diffstat (limited to 'perl.c')
-rw-r--r--perl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl.c b/perl.c
index f40aaa56e5..badb216fec 100644
--- a/perl.c
+++ b/perl.c
@@ -279,7 +279,7 @@ perl_construct(pTHXx)
{
char *s = NULL;
- if (!PL_tainting)
+ if (!PL_earlytaint)
s = PerlEnv_getenv("PERL_HASH_SEED");
if (s)
while (isSPACE(*s)) s++;
@@ -301,7 +301,7 @@ perl_construct(pTHXx)
#endif /* RANDBITS < (UVSIZE * 8) */
}
#endif /* USE_HASH_SEED_EXPLICIT */
- if (!PL_tainting && (s = PerlEnv_getenv("PERL_HASH_SEED_DEBUG")))
+ if (!PL_earlytaint && (s = PerlEnv_getenv("PERL_HASH_SEED_DEBUG")))
PerlIO_printf(Perl_debug_log, "HASH_SEED = %"UVuf"\n",
PL_hash_seed);
}