[freeside-commits] freeside/htetc handler.pl,1.118,1.118.2.1

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


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

Modified Files:
      Tag: FREESIDE_1_9_BRANCH
	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.118
retrieving revision 1.118.2.1
diff -u -d -r1.118 -r1.118.2.1
--- handler.pl	15 Sep 2009 19:45:38 -0000	1.118
+++ handler.pl	15 Feb 2010 14:41:35 -0000	1.118.2.1
@@ -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