summaryrefslogtreecommitdiff
blob: c4adb7b8c6ec6251f416cb01ff133570cc900427 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Author: banb@yahoo.co.jp
Description: Debian #418447, CPAN #13521
http://rt.cpan.org/Public/Bug/Display.html?id=13521
--- a/src/speedy_backend_main.c
+++ b/src/speedy_backend_main.c
@@ -176,6 +176,10 @@
         DIE_QUIET("Cannot allocate perl");
     perl_construct(my_perl);
 
+#if defined(PL_use_safe_putenv) || defined(PL_Guse_safe_putenv)
+    PL_use_safe_putenv = 0;
+#endif
+
 #ifdef SPEEDY_DEBUG
     dont_fork = getenv("SPEEDY_NOPARENT") != NULL;
 #endif