diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2003-06-27 08:15:11 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2003-06-27 08:15:11 +0000 |
commit | af419de789419c9e4520d33654a91564094b407a (patch) | |
tree | c62f4e0ce756cd82c32c69553c5d894d058aad07 /perl.h | |
parent | a06433151b0f1a3a12ccc4d2629feb511ea9fce6 (diff) | |
download | perl-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.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 */ |