Nicholas Clark wrote:
On Tue, Nov 16, 2004 at 05:20:36PM -0500, Stas Bekman wrote:
Also Nick, please let us know whether this gets into 5.8.x branch, so we
can start using it in modperl.
I've put it in 5.8.6-to be.
Can you suggest a suitable perldelta entry to describe it?
[see, you don't get something for nothing in this life :-)]
To start with we need a reference to "Safe process environment
manipulation":
--- INSTALL.orig 2004-11-25 18:40:25.298183328 -0500
+++ INSTALL 2004-11-25 19:25:45.824064019 -0500
@@ -400,6 +400,21 @@
section), you cannot use the printf/sprintf non-decimal integer formats
like C<%x> to print filesizes. You can use C<%d>, though.
+=head3 Safe process environment manipulation
+
+If compiled with -DPERL_USE_SAFE_PUTENV, but regardless when used
+within an application that embeds perl, when %ENV is manipulated a
+safe putenv() is used. Otherwise perl manipulates the process environ
+struct directly, which might be unsafe if other environments try to
+manipulated environ too.
+
+It's still possible use the unsafe manipulation in the embedded-perl
+applications by setting:
+
+ PL_use_safe_putenv = 0;
+
+after the perl_construct() call.
+
=head3 64 bit support.
If your platform does not have run natively at 64 bits, but can
Assuming that we have that, the delta can say:
From now on all applications embedding perl will behave as if perl
was compiled with -DPERL_USE_SAFE_PUTENV. See the "Safe process
environment manipulation" entry in INSTALL for details.
--
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com