svn commit: [26069] trunk/busybox/networking

vda at busybox.net vda at busybox.net
Sun Apr 12 04:20:22 UTC 2009


Author: vda
Date: 2009-04-12 04:20:22 +0000 (Sun, 12 Apr 2009)
New Revision: 26069

Log:
dnsd: removed highly questionable setting of signals to SIG_IGN



Modified:
   trunk/busybox/networking/dnsd.c


Changeset:
Modified: trunk/busybox/networking/dnsd.c
===================================================================
--- trunk/busybox/networking/dnsd.c	2009-04-12 04:09:09 UTC (rev 26068)
+++ trunk/busybox/networking/dnsd.c	2009-04-12 04:20:22 UTC (rev 26069)
@@ -488,17 +488,6 @@
 
 	conf_data = parse_conf_file(fileconf);
 
-	bb_signals(0
-		/* why? + (1 << SIGPIPE) */
-		+ (1 << SIGHUP)
-#ifdef SIGTSTP
-		+ (1 << SIGTSTP)
-#endif
-#ifdef SIGURG
-		+ (1 << SIGURG)
-#endif
-		, SIG_IGN);
-
 	lsa = xdotted2sockaddr(listen_interface, port);
 	udps = xsocket(lsa->u.sa.sa_family, SOCK_DGRAM, 0);
 	xbind(udps, &lsa->u.sa, lsa->len);



More information about the busybox-cvs mailing list