提交 2c620d4b authored 作者: Anthony Minessale's avatar Anthony Minessale

FSCORE-456

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15051 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 be109957
差异被折叠。
......@@ -1346,13 +1346,6 @@ static void handle_SIGBUS(int sig)
}
#endif
/* no ctl-c mofo */
static void handle_SIGINT(int sig)
{
if (sig);
return;
}
static void handle_SIGHUP(int sig)
{
if (sig) {
......@@ -1463,7 +1456,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_init_and_modload(switch_core_flag_t
}
/* set signal handlers */
signal(SIGINT, handle_SIGINT);
signal(SIGINT, SIG_IGN);
#ifdef SIGPIPE
signal(SIGPIPE, handle_SIGPIPE);
#endif
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论