Skip Menu |

This queue is for tickets about the CGI-SpeedyCGI CPAN distribution.

Report information
The Basics
Id: 23919
Status: new
Priority: 0/
Queue: CGI-SpeedyCGI

People
Owner: Nobody in particular
Requestors: banb [...] yahoo.co.jp
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 2.22
Fixed in: (no value)



Subject: speedy/t/thread test fails on Perl 5.8
Since Perl 5.8, thread model changed, and 'Thread' module now behaves as compatibility layer working with 'threads' module. Attached patch might work.
Subject: speedy_t_thread.patch
--- speedy/t/scripts/thread.orig 2003-06-01 15:13:40.000000000 +0900 +++ speedy/t/scripts/thread 2006-12-14 10:55:07.176613847 +0900 @@ -4,6 +4,13 @@ use Config; use Thread; +BEGIN { + if ($] >= 5.008001 && $Config{useithreads}) { + require threads; + import threads; + } +} + if ($ARGV[0] == 1) { # Just report if threads are available. die unless $Config{usethreads};