|
From: Evan S. <ev...@dr...> - 2007-02-16 11:49:44
|
On Feb 15, 2007, at 9:06 PM, Evan Schoenberg wrote: > Would it be reasonable to clear signal handlers in the child > process before resolve() is called? If not, how should this be > handled? > Replying to myself: This is how the child in gaim_dnsquery_resolver_new() behaves: #ifdef HAVE_SIGNAL_H signal(SIGHUP, SIG_DFL); signal(SIGINT, SIG_DFL); signal(SIGQUIT, SIG_DFL); signal(SIGCHLD, SIG_DFL); signal(SIGTERM, SIG_DFL); signal(SIGTRAP, trap_gdb_bug); #endif so I'll go ahead and mirror that behavior. Please, if you have any insight as to why res_query() is crashing in the first place, speak up :) -Evan |