Kouhei Sutou
null+****@clear*****
Thu Apr 4 17:45:45 JST 2013
Kouhei Sutou 2013-04-04 17:45:45 +0900 (Thu, 04 Apr 2013) New Revision: 62a29b8df9b3c807a11c84459d1d9ef443fdc9cc https://github.com/groonga/groonga/commit/62a29b8df9b3c807a11c84459d1d9ef443fdc9cc Message: Fix a typo... We want to handle SIGTERM! Modified files: lib/ctx.c Modified: lib/ctx.c (+1 -1) =================================================================== --- lib/ctx.c 2013-04-03 13:54:01 +0900 (51826ca) +++ lib/ctx.c 2013-04-04 17:45:45 +0900 (ddff3b5) @@ -2813,7 +2813,7 @@ grn_set_term_handler(void) action.sa_sigaction = term_handler; action.sa_flags = SA_SIGINFO; - if (sigaction(SIGINT, &action, &old_term_handler)) { + if (sigaction(SIGTERM, &action, &old_term_handler)) { SERR("failed to set SIGTERM action"); rc = ctx->rc; } -------------- next part -------------- HTML����������������������������...Download