[Slim-Checkins] r10777 - /trunk/server/Slim/Utils/Log.pm

adrian at svn.slimdevices.com adrian at svn.slimdevices.com
Mon Nov 27 11:46:38 PST 2006


Author: adrian
Date: Mon Nov 27 11:46:38 2006
New Revision: 10777

URL: http://svn.slimdevices.com?rev=10777&view=rev
Log:
Bug: N/A
Description: open2 in Slim::Player::Pipeline crashes with STDERR
tied to Log::Trapper as it had no FILENO method.  Add one to return fh
of stderr.

Modified:
    trunk/server/Slim/Utils/Log.pm

Modified: trunk/server/Slim/Utils/Log.pm
URL: http://svn.slimdevices.com/trunk/server/Slim/Utils/Log.pm?rev=10777&r1=10776&r2=10777&view=diff
==============================================================================
--- trunk/server/Slim/Utils/Log.pm (original)
+++ trunk/server/Slim/Utils/Log.pm Mon Nov 27 11:46:38 2006
@@ -879,6 +879,9 @@
 
 use strict;
 
+# prevent pipelines crashing during open2 call
+sub FILENO  { 2 }
+
 sub TIEHANDLE {
 	my $class = shift;
 	bless [], $class;



More information about the checkins mailing list