From 34edb5ade7e73e5ec69f684a858ca0c366d4091e Mon Sep 17 00:00:00 2001 From: Andrew Ruthven Date: Thu, 3 Mar 2011 22:49:21 +1300 Subject: [PATCH] Surpress a warning that we don't really care about. --- ChangeLog | 9 +++++++++ INSTALL | 2 ++ bin/mythtv-status | 5 +++-- 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 73639db..54fcc0b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2011-03-03 Andrew Ruthven + It turns out that $SIG{ALRM} doesn't always work with LWP::UserAgent + as you'd expect. I've certainly noticed mythtv-status hanging + during cron jobs on a regular basis, and this could well explain + it. + +2010-12-01 Andrew Ruthven + Make sure that Date::Manip is running in 5.x compatibiity mode. + 2010-09-16 Andrew Ruthven Add support for extra recording state. diff --git a/INSTALL b/INSTALL index cc95b7d..7c35f28 100644 --- a/INSTALL +++ b/INSTALL @@ -9,6 +9,7 @@ You will need to have the following Perl modules installed: XML::LibXML Date::Manip MIME::Entity + Sys::SigAction MythTV - The MythTV Perl API If you have installed this package using Debian then they should already be @@ -19,6 +20,7 @@ For Fedora 7, the required package names are (they are all available via yum): perl-XML-LibXML perl-DateManip perl-MIME-tools + perl-Sys-SigAction perl-MythTV MOTD diff --git a/bin/mythtv-status b/bin/mythtv-status index bfa5ef5..6c5a204 100755 --- a/bin/mythtv-status +++ b/bin/mythtv-status @@ -11,8 +11,9 @@ # While I would love to enable the 6.xx interface for Date::Manip we may # still need to run on platforms that only have version 5.x. So we'll # turn on backwards compatible mode for now. -BEGIN { - $Date::Manip::Backend = 'DM5'; +{ + no warnings 'once'; + $Date::Manip::Backend = 'DM5'; } use LWP::UserAgent; -- 2.30.2