summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-06-27 08:15:11 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-06-27 08:15:11 +0000
commitaf419de789419c9e4520d33654a91564094b407a (patch)
treec62f4e0ce756cd82c32c69553c5d894d058aad07 /perl.h
parenta06433151b0f1a3a12ccc4d2629feb511ea9fce6 (diff)
downloadperl-af419de789419c9e4520d33654a91564094b407a.tar.gz
Introduce (global) variable PL_earlytaint which
is set very early in main(), before perl_parse() has been called and PL_tainting (or PL_taint_warn) might have been set. p4raw-id: //depot/perl@19863
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/perl.h b/perl.h
index 61fab6cfca..492bd832cb 100644
--- a/perl.h
+++ b/perl.h
@@ -498,9 +498,8 @@ int usleep(unsigned int);
if (newval) { \
panic_write2("panic: tainting with $ENV{PERL_MALLOC_OPT}\n");\
exit(1); })
-extern int Perl_doing_taint(int argc, char *argv[], char *envp[]);
# define MALLOC_CHECK_TAINT(argc,argv,env) STMT_START { \
- if (Perl_doing_taint(argc, argv, env)) { \
+ if (Perl_doing_taint(argc,argv,env)) { \
MallocCfg_ptr[MallocCfg_skip_cfg_env] = 1; \
}} STMT_END;
#else /* MYMALLOC */