diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-02-14 03:14:14 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-02-14 03:14:14 +0000 |
commit | 103a71894980ab015937511f33d840c7f030e8a4 (patch) | |
tree | facc950261409b42ab5402feb9da5f6d52af61df /perl.h | |
parent | 741f3e25d63cec2ca498f516e3ad73196398ec38 (diff) | |
download | perl-103a71894980ab015937511f33d840c7f030e8a4.tar.gz |
Duplicate environment for JPL so that JDK 1.2/1.3 don't get upset.
p4raw-id: //depot/perl@8803
Diffstat (limited to 'perl.h')
-rw-r--r-- | perl.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1692,6 +1692,13 @@ typedef struct ptr_tbl PTR_TBL_t; # define USE_ENVIRON_ARRAY #endif +#ifdef JPL + /* E.g. JPL needs to operate on a copy of the real environment. + * JDK 1.2 and 1.3 seem to get upset if the original environment + * is diddled with. */ +# define NEED_ENVIRON_DUP_FOR_MODIFY +#endif + #ifndef PERL_SYS_INIT3 # define PERL_SYS_INIT3(argvp,argcp,envp) PERL_SYS_INIT(argvp,argcp) #endif |