cvs commit: modperl-2.0/src/modules/perl modperl_env.c
dougm 2002/06/01 16:42:08 Modified:src/modules/perl modperl_env.c Log: pass the PATH and TZ environment variables at startup by default as 1.xx did Revision ChangesPath 1.25 +22 -0 modperl-2.0/src/modules/perl/modperl_env.c Index: modperl_env.c === RCS file: /home/cvs/modperl-2.0/src/modules/perl/modperl_env.c,v retrieving revision 1.24 retrieving revision 1.25 diff -u -r1.24 -r1.25 --- modperl_env.c 30 May 2002 23:35:02 - 1.24 +++ modperl_env.c 1 Jun 2002 23:42:07 - 1.25 -85,10 +85,32 modperl_env_tie(mg_flags); } +/* list of environment variables to pass by default */ +static const char *MP_env_pass_defaults[] = { +PATH, TZ, NULL +}; + void modperl_env_configure_server(pTHX_ apr_pool_t *p, server_rec *s) { /* XXX: propagate scfg-SetEnv to environ */ MP_dSCFG(s); +int i = 0; + +for (i=0; MP_env_pass_defaults[i]; i++) { +const char *key = MP_env_pass_defaults[i]; +char *val; + +if (apr_table_get(scfg-SetEnv, key) || +apr_table_get(scfg-PassEnv, key)) +{ +continue; /* already configured */ +} + +if ((val = getenv(key))) { +apr_table_set(scfg-PassEnv, key, val); +} +} + modperl_env_table_populate(aTHX_ scfg-SetEnv); modperl_env_table_populate(aTHX_ scfg-PassEnv); }
cvs commit: modperl-2.0 Changes
dougm 2002/06/01 20:20:35 Modified:.Changes Log: update Changes Revision ChangesPath 1.15 +12 -0 modperl-2.0/Changes Index: Changes === RCS file: /home/cvs/modperl-2.0/Changes,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- Changes 29 May 2002 16:31:44 - 1.14 +++ Changes 2 Jun 2002 03:20:35 - 1.15 @@ -10,6 +10,18 @@ =item 1.99_02-dev +pass the PATH and TZ environment variables at startup by default as 1.xx did + +fix ModPerl::Util::exit segv with 5.6.0 + +no longer support 5.7.x perl development versions + +added compat for Apache::Table-new + +various fixes to compile/run on darwin + +server-scope Perl{Set,Pass}Env config now propagated to %ENV at startup + use SvOK(sv) instead of sv == PL_sv_undef to detect undef values in xs [Stephen Clouse [EMAIL PROTECTED]]
cvs commit: modperl-2.0 Changes
dougm 2002/06/01 20:21:43 Modified:.Changes Log: releasing 1.99_02 Revision ChangesPath 1.16 +1 -1 modperl-2.0/Changes Index: Changes === RCS file: /home/cvs/modperl-2.0/Changes,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- Changes 2 Jun 2002 03:20:35 - 1.15 +++ Changes 2 Jun 2002 03:21:43 - 1.16 -8,7 +8,7 =over 3 -=item 1.99_02-dev +=item 1.99_02 - June 1, 2002 pass the PATH and TZ environment variables at startup by default as 1.xx did
cvs commit: modperl-2.0/lib mod_perl.pm
dougm 2002/06/01 20:25:53 Modified:.Changes lib mod_perl.pm Log: bump version Revision ChangesPath 1.17 +2 -0 modperl-2.0/Changes Index: Changes === RCS file: /home/cvs/modperl-2.0/Changes,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- Changes 2 Jun 2002 03:21:43 - 1.16 +++ Changes 2 Jun 2002 03:25:53 - 1.17 -8,6 +8,8 =over 3 +=item 1.99_03-dev + =item 1.99_02 - June 1, 2002 pass the PATH and TZ environment variables at startup by default as 1.xx did 1.3 +1 -1 modperl-2.0/lib/mod_perl.pm Index: mod_perl.pm === RCS file: /home/cvs/modperl-2.0/lib/mod_perl.pm,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- mod_perl.pm 7 Apr 2002 05:08:31 - 1.2 +++ mod_perl.pm 2 Jun 2002 03:25:53 - 1.3 -4,7 +4,7 use strict; BEGIN { -our $VERSION = 1.9902; +our $VERSION = 1.9903; } 1;
cvs commit: modperl/lib mod_perl.pm
dougm 2002/06/01 20:02:51 Modified:.Changes lib mod_perl.pm Log: bump version to 1.27 Revision ChangesPath 1.649 +1 -1 modperl/Changes Index: Changes === RCS file: /home/cvs/modperl/Changes,v retrieving revision 1.648 retrieving revision 1.649 diff -u -r1.648 -r1.649 --- Changes 2 Jun 2002 02:59:37 - 1.648 +++ Changes 2 Jun 2002 03:02:51 - 1.649 -8,7 +8,7 =over 3 -=item 1.26_01-dev +=item 1.27 - June 1, 2002 workaround Cwd bug in 5.8.0-RC1 that breaks apache configuration on solaris 1.54 +1 -1 modperl/lib/mod_perl.pm Index: mod_perl.pm === RCS file: /home/cvs/modperl/lib/mod_perl.pm,v retrieving revision 1.53 retrieving revision 1.54 diff -u -r1.53 -r1.54 --- mod_perl.pm 12 Jul 2001 02:27:28 - 1.53 +++ mod_perl.pm 2 Jun 2002 03:02:51 - 1.54 -4,7 +4,7 use DynaLoader (); BEGIN { -$mod_perl::VERSION = 1.2601; +$mod_perl::VERSION = 1.27; } sub boot {
cvs commit: modperl/lib mod_perl.pm
dougm 2002/06/01 20:07:13 Modified:.Changes lib mod_perl.pm Log: bump version Revision ChangesPath 1.650 +2 -0 modperl/Changes Index: Changes === RCS file: /home/cvs/modperl/Changes,v retrieving revision 1.649 retrieving revision 1.650 diff -u -r1.649 -r1.650 --- Changes 2 Jun 2002 03:02:51 - 1.649 +++ Changes 2 Jun 2002 03:07:13 - 1.650 -8,6 +8,8 =over 3 +=item 1.27_01-dev + =item 1.27 - June 1, 2002 workaround Cwd bug in 5.8.0-RC1 that breaks apache configuration on solaris 1.55 +1 -1 modperl/lib/mod_perl.pm Index: mod_perl.pm === RCS file: /home/cvs/modperl/lib/mod_perl.pm,v retrieving revision 1.54 retrieving revision 1.55 diff -u -r1.54 -r1.55 --- mod_perl.pm 2 Jun 2002 03:02:51 - 1.54 +++ mod_perl.pm 2 Jun 2002 03:07:13 - 1.55 -4,7 +4,7 use DynaLoader (); BEGIN { -$mod_perl::VERSION = 1.27; +$mod_perl::VERSION = 1.2701; } sub boot {