svn commit: samba r24946 - in branches/3.2-perltest/source/script/tests: .

metze at samba.org metze at samba.org
Tue Sep 4 07:55:39 GMT 2007


Author: metze
Date: 2007-09-04 07:55:38 +0000 (Tue, 04 Sep 2007)
New Revision: 24946

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=24946

Log:
handle SIGINT and SIGQUIT in the same way as SIGTERM,
somehow selftest.pl and timelimit are getting both
a ctrl+c...

metze
Modified:
   branches/3.2-perltest/source/script/tests/timelimit.c


Changeset:
Modified: branches/3.2-perltest/source/script/tests/timelimit.c
===================================================================
--- branches/3.2-perltest/source/script/tests/timelimit.c	2007-09-04 06:46:06 UTC (rev 24945)
+++ branches/3.2-perltest/source/script/tests/timelimit.c	2007-09-04 07:55:38 UTC (rev 24946)
@@ -80,6 +80,8 @@
 	}
 
 	signal(SIGTERM, sig_term);
+	signal(SIGINT,  sig_term);
+	signal(SIGQUIT, sig_term);
 	signal(SIGUSR1, sig_usr1);
 	signal(SIGALRM, sig_alrm_term);
 	alarm(maxtime);



More information about the samba-cvs mailing list