Skip Menu |

This queue is for tickets about the POE CPAN distribution.

Report information
The Basics
Id: 8806
Status: resolved
Priority: 0/
Queue: POE

People
Owner: Nobody in particular
Requestors: jkim [...] advance.net
Cc:
AdminCc:

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



Subject: POE::Wheel::Run setsid bugw
Using POE v0.29, POE::Wheel::Run v1.58, perl v5.6.1, RedHat 7.3 On line 282: eval 'setsid()'; This throws an 'Undefined subroutine' error on my system, which is masked by the eval. I believe 'setsid' has to be imported using the 'use POSIX' lines at the top of the script. Trivial patch is attached. I'm assuming it's inside an eval statement in case a system doesn't have the setsid function, but I have no idea if adding setsid to the use list will trigger an error on those systems. -JayKim
*** Run.pm Thu Dec 9 14:39:07 2004 --- Run.pm.orig Thu Dec 9 14:38:43 2004 *************** *** 9,15 **** use Carp qw(carp croak); use POSIX qw( ! sysconf setsid _SC_OPEN_MAX ECHO ICANON IEXTEN ISIG BRKINT ICRNL INPCK ISTRIP IXON CSIZE PARENB OPOST TCSANOW ); --- 9,15 ---- use Carp qw(carp croak); use POSIX qw( ! sysconf _SC_OPEN_MAX ECHO ICANON IEXTEN ISIG BRKINT ICRNL INPCK ISTRIP IXON CSIZE PARENB OPOST TCSANOW );
Thanks for the report and patch. I've applied it towards 0.3009, which should be released sometime this weekend.