]> git.kaiwu.me - nginx.git/commit
Perl: removed special environment handling for the perl module.
authorMaxim Dounin <mdounin@mdounin.ru>
Wed, 7 Dec 2016 16:03:26 +0000 (19:03 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Wed, 7 Dec 2016 16:03:26 +0000 (19:03 +0300)
commit0a90c428b8be794b9244c8a5f0084f4d19feebbb
treec3edbb13f5de37a32f6161aa73f8d4f79834cee6
parent408e49fed64873aa5b7c3affb2a227e15ccee025
Perl: removed special environment handling for the perl module.

In Perl 5.8.6 the default was switched to use putenv() when used as
embedded library unless "PL_use_safe_putenv = 0" is explicitly used
in the code.  Therefore, for modern versions of Perl it is no longer
necessary to restore previous environment when calling perl_destruct().
auto/lib/perl/conf
src/core/ngx_cycle.c