[interchange] Whack pointless historical code

David Christensen interchange-cvs at icdevgroup.org
Mon Jul 9 19:16:05 UTC 2018


commit 586e5a9b2fe04eb37e8d9cc775e137d9c785a68c
Author: David Christensen <david at endpoint.com>
Date:   Mon Jun 11 12:10:58 2018 -0600

    Whack pointless historical code

 lib/Vend/Server.pm |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/lib/Vend/Server.pm b/lib/Vend/Server.pm
index 32d95a7..ab1d6a3 100644
--- a/lib/Vend/Server.pm
+++ b/lib/Vend/Server.pm
@@ -1234,7 +1234,7 @@ $Job_servers = 0;
 
 # might also trap: QUIT
 
-my ($Routine_USR1, $Routine_USR2, $Routine_HUP, $Routine_TERM, $Routine_INT);
+my ($Routine_TERM, $Routine_INT);
 my ($Sig_inc, $Sig_dec, $Counter);
 
 sub sig_int_or_term {
@@ -1260,9 +1260,6 @@ sub sig_int_or_term {
 
 unless ($Global::Windows) {
 	push @trapped_signals, qw(HUP USR1 USR2);
-	$Routine_USR1 = sub { $SIG{USR1} = $Routine_USR1; $Num_servers++};
-	$Routine_USR2 = sub { $SIG{USR2} = $Routine_USR2; $Num_servers--};
-	$Routine_HUP  = sub { $SIG{HUP} = $Routine_HUP; $Signal_Restart = 1};
 }
 
 $Routine_TERM = sub { $SIG{TERM} = $Routine_TERM; $Signal_Terminate = 1 };



More information about the interchange-cvs mailing list