Skip to content

Commit

Permalink
暂时移除 pcntl.c 中强制生成 core dump 的信号问题
Browse files Browse the repository at this point in the history
  • Loading branch information
hightman committed Jan 15, 2013
1 parent 09eda2f commit 7d35785
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pcntl.c
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ static void _sig_term(int sig)
{
int rc = signal_term(sig);

#if 0 // hightman.130115: due to block here
// NOTE: special error signal
if ((sig == SIGFPE || sig == SIGILL || sig == SIGSEGV || sig == SIGBUS)
&& signal(sig, SIG_DFL) != SIG_ERR)
Expand All @@ -226,6 +227,7 @@ static void _sig_term(int sig)
raise(sig);
return;
}
#endif

// exit or not
if (rc != SIGNAL_TERM_LATER)
Expand Down

0 comments on commit 7d35785

Please sign in to comment.