AIX has no WCOREDUMP()
Igor Sysoev
13 years ago
493 | 493 | } |
494 | 494 | |
495 | 495 | if (WTERMSIG(status)) { |
496 | #ifdef WCOREDUMP | |
496 | 497 | ngx_log_error(NGX_LOG_ALERT, ngx_cycle->log, 0, |
497 | 498 | "%s %P exited on signal %d%s", |
498 | 499 | process, pid, WTERMSIG(status), |
499 | 500 | WCOREDUMP(status) ? " (core dumped)" : ""); |
501 | #else | |
502 | ngx_log_error(NGX_LOG_ALERT, ngx_cycle->log, 0, | |
503 | "%s %P exited on signal %d", | |
504 | process, pid, WTERMSIG(status)); | |
505 | #endif | |
500 | 506 | |
501 | 507 | } else { |
502 | 508 | ngx_log_error(NGX_LOG_NOTICE, ngx_cycle->log, 0, |