perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: [Patch mp2] Statically compiling mod_perl in httpd (take 2)
Date Tue, 15 Jun 2004 10:22:35 GMT
Philippe M. Chiasson wrote:
[...]

> Here is a revised patch that still works for me.
> (http://svn.ectoplasm.org/gozer/opt/src/apache.org/mod_perl/2.0/patches/static-build.patch)


Looks good

> Index: Apache-Test/lib/Apache/TestConfig.pm
> ===================================================================
[...]
>      # untaint some %ENV fields
>      local @ENV{ qw(PATH IFS CDPATH ENV BASH_ENV) };
> 
> +    $ENV{PATH} = '/bin:/usr/bin:/usr/local/bin';
>      my $handle = Symbol::gensym();
>      open $handle, "$cmd|" or die "$cmd failed: $!";

What do you need that for and why the hardcoded paths?

-- 
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message