--- rxvt-unicode/src/rxvtd.C 2003/11/27 10:12:10 1.5 +++ rxvt-unicode/src/rxvtd.C 2004/02/13 12:16:21 1.8 @@ -140,7 +140,7 @@ rxvt_init (argv.size (), argv.begin ()); environ = old_environ; - envv.clear (); // can't yet save the env 'cause rxvt modifies it :( + envv.clear (); // can't yet save the env 'cause rxvt modifies it : ( } } else @@ -151,16 +151,8 @@ } int -main(int argc, const char *const *argv) +main (int argc, const char *const *argv) { - { - sigset_t ss; - - sigaddset (&ss, SIGHUP); - sigaddset (&ss, SIGPIPE); - sigprocmask (SIG_BLOCK, &ss, 0); - } - rxvt_init_signals (); char *sockname = rxvt_connection::unix_sockname (); @@ -171,11 +163,12 @@ iom.loop (); #if 0 - if (rxvt_init(argc, argv) == NULL) + if (rxvt_init (argc, argv) == NULL) return EXIT_FAILURE; dR; - rxvt_main_loop(aR); /* main processing loop */ + rxvt_main_loop (aR); /* main processing loop */ #endif return EXIT_SUCCESS; } +