Package: speedy-cgi-perl
Version: 2.22-4
Severity: important
Tags: patch
As reported in CPAN #13521 [1], the test speedy/t/be_memleak is currently
failing. This is apparently due to a change in Perl 5.8.6. The patch
in the CPAN report by [EMAIL PROTECTED] seems to help, and I'm attaching
it here as well.
Jose, I'll prepare a new version with this patch soon and make it run
the tests at build time, so we can be sure this is fixed on all arches.
[1] http://rt.cpan.org/Public/Bug/Display.html?id=13521
Cheers,
--
Niko Tyni [EMAIL PROTECTED]
--- src/speedy_backend_main.c.orig 2003-10-07 13:03:48.000000000 +0900
+++ src/speedy_backend_main.c 2006-12-14 10:29:40.531699151 +0900
@@ -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