You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl-cvs@perl.apache.org by do...@hyperreal.org on 1999/02/13 23:05:39 UTC
cvs commit: modperl/src/modules/perl perl_config.c
dougm 99/02/13 14:05:38
Modified: . Changes
src/modules/perl perl_config.c
Log:
fix bug in PerlPassEnv spotted by Gerd Knops, where values were munged
Revision Changes Path
1.264 +2 -0 modperl/Changes
Index: Changes
===================================================================
RCS file: /home/cvs/modperl/Changes,v
retrieving revision 1.263
retrieving revision 1.264
diff -u -r1.263 -r1.264
--- Changes 1999/02/01 05:41:58 1.263
+++ Changes 1999/02/13 22:05:37 1.264
@@ -8,6 +8,8 @@
=item 1.18_01-dev
+fix bug in PerlPassEnv spotted by Gerd Knops, where values were munged
+
make sure per-dir PerlSetEnv happens after defaults are set (e.g. PATH)
cure core dump with 5.005_03-threads
1.67 +1 -1 modperl/src/modules/perl/perl_config.c
Index: perl_config.c
===================================================================
RCS file: /home/cvs/modperl/src/modules/perl/perl_config.c,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -r1.66 -r1.67
--- perl_config.c 1999/01/27 23:37:31 1.66
+++ perl_config.c 1999/02/13 22:05:38 1.67
@@ -196,7 +196,7 @@
if(val != NULL) {
MP_TRACE_d(fprintf(stderr, "PerlPassEnv: `%s'=`%s'\n", key, val));
- mp_SetEnv(key,val);
+ mp_SetEnv(key,pstrdup(p,val));
}
}
}