summaryrefslogtreecommitdiff
path: root/perl.h
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.h
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.h')
-rw-r--r--perl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl.h b/perl.h
index 492bd832cb..ea55630132 100644
--- a/perl.h
+++ b/perl.h
@@ -499,7 +499,7 @@ int usleep(unsigned int);
panic_write2("panic: tainting with $ENV{PERL_MALLOC_OPT}\n");\
exit(1); })
# define MALLOC_CHECK_TAINT(argc,argv,env) STMT_START { \
- if (Perl_doing_taint(argc,argv,env)) { \
+ if (PL_earlytaint)) { \
MallocCfg_ptr[MallocCfg_skip_cfg_env] = 1; \
}} STMT_END;
#else /* MYMALLOC */