Mercurial > pidgin.yaz
diff libpurple/dnsquery.c @ 15646:61b42cf81aa4
Restore default signal handlers in fork()'d children. This adds a gaim_restore_default_signal_handlers() utility function since children are made in multiple places.
author | Evan Schoenberg <evan.s@dreskin.net> |
---|---|
date | Sun, 18 Feb 2007 18:16:57 +0000 |
parents | 5fe8042783c1 |
children | 6a0b9734a722 |
line wrap: on
line diff
--- a/libpurple/dnsquery.c Thu Feb 15 23:25:50 2007 +0000 +++ b/libpurple/dnsquery.c Sun Feb 18 18:16:57 2007 +0000 @@ -157,11 +157,7 @@ #endif #ifdef HAVE_SIGNAL_H - signal(SIGHUP, SIG_DFL); - signal(SIGINT, SIG_DFL); - signal(SIGQUIT, SIG_DFL); - signal(SIGCHLD, SIG_DFL); - signal(SIGTERM, SIG_DFL); + gaim_restore_default_signal_handlers(); signal(SIGTRAP, trap_gdb_bug); #endif