diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2009-04-12 04:20:22 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2009-04-12 04:20:22 +0000 |
commit | f8de411e2428b9c8878a8be3602f022812a3ab70 (patch) | |
tree | 10b712c589a32e4daf09491d11c776c106ae733d | |
parent | ddbf3bf35ffd70e7105f4cf8fe8aa81b3c7667e2 (diff) | |
download | busybox-w32-f8de411e2428b9c8878a8be3602f022812a3ab70.tar.gz busybox-w32-f8de411e2428b9c8878a8be3602f022812a3ab70.tar.bz2 busybox-w32-f8de411e2428b9c8878a8be3602f022812a3ab70.zip |
dnsd: removed highly questionable setting of signals to SIG_IGN
-rw-r--r-- | networking/dnsd.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/networking/dnsd.c b/networking/dnsd.c index 4f980dccd..78054ed85 100644 --- a/networking/dnsd.c +++ b/networking/dnsd.c | |||
@@ -488,17 +488,6 @@ int dnsd_main(int argc UNUSED_PARAM, char **argv) | |||
488 | 488 | ||
489 | conf_data = parse_conf_file(fileconf); | 489 | conf_data = parse_conf_file(fileconf); |
490 | 490 | ||
491 | bb_signals(0 | ||
492 | /* why? + (1 << SIGPIPE) */ | ||
493 | + (1 << SIGHUP) | ||
494 | #ifdef SIGTSTP | ||
495 | + (1 << SIGTSTP) | ||
496 | #endif | ||
497 | #ifdef SIGURG | ||
498 | + (1 << SIGURG) | ||
499 | #endif | ||
500 | , SIG_IGN); | ||
501 | |||
502 | lsa = xdotted2sockaddr(listen_interface, port); | 491 | lsa = xdotted2sockaddr(listen_interface, port); |
503 | udps = xsocket(lsa->u.sa.sa_family, SOCK_DGRAM, 0); | 492 | udps = xsocket(lsa->u.sa.sa_family, SOCK_DGRAM, 0); |
504 | xbind(udps, &lsa->u.sa, lsa->len); | 493 | xbind(udps, &lsa->u.sa, lsa->len); |