dnsd: removed highly questionable setting of signals to SIG_IGN
authorDenis Vlasenko <vda.linux@googlemail.com>
Sun, 12 Apr 2009 04:20:22 +0000 (04:20 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Sun, 12 Apr 2009 04:20:22 +0000 (04:20 -0000)
networking/dnsd.c

index 4f980dc..78054ed 100644 (file)
@@ -488,17 +488,6 @@ int dnsd_main(int argc UNUSED_PARAM, char **argv)
 
        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);