[freeside-commits] freeside/htetc handler.pl,1.119,1.120

Jeff Finucane,420,, jeff at wavetail.420.am
Mon Feb 15 06:39:16 PST 2010


Update of /home/cvs/cvsroot/freeside/htetc
In directory wavetail.420.am:/tmp/cvs-serv27742

Modified Files:
	handler.pl 
Log Message:
get rid of some very annoying and pointless noise

Index: handler.pl
===================================================================
RCS file: /home/cvs/cvsroot/freeside/htetc/handler.pl,v
retrieving revision 1.119
retrieving revision 1.120
diff -u -d -r1.119 -r1.120
--- handler.pl	3 Jan 2010 07:40:35 -0000	1.119
+++ handler.pl	15 Feb 2010 14:39:13 -0000	1.120
@@ -76,8 +76,11 @@
       RT::Init() if $RT::VERSION; #for lack of something else
 
       #we don't want the RT error handlers under FS
-      undef($SIG{__WARN__}) if defined($SIG{__WARN__});
-      undef($SIG{__DIE__})  if defined($SIG{__DIE__} );
+      {
+        local $^W = 0;
+        undef($SIG{__WARN__}) if defined($SIG{__WARN__});
+        undef($SIG{__DIE__})  if defined($SIG{__DIE__} );
+      }
 
       $ah->interp($fs_interp);
 



More information about the freeside-commits mailing list