Mercurial > hg > nginx-quic
comparison src/os/unix/ngx_process.c @ 2494:693132294e21
AIX has no WCOREDUMP()
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 05 Feb 2009 16:01:50 +0000 |
parents | 957085b56da3 |
children | ae81441e23f4 |
comparison
equal
deleted
inserted
replaced
2493:1dd4576e7c89 | 2494:693132294e21 |
---|---|
492 break; | 492 break; |
493 } | 493 } |
494 } | 494 } |
495 | 495 |
496 if (WTERMSIG(status)) { | 496 if (WTERMSIG(status)) { |
497 #ifdef WCOREDUMP | |
497 ngx_log_error(NGX_LOG_ALERT, ngx_cycle->log, 0, | 498 ngx_log_error(NGX_LOG_ALERT, ngx_cycle->log, 0, |
498 "%s %P exited on signal %d%s", | 499 "%s %P exited on signal %d%s", |
499 process, pid, WTERMSIG(status), | 500 process, pid, WTERMSIG(status), |
500 WCOREDUMP(status) ? " (core dumped)" : ""); | 501 WCOREDUMP(status) ? " (core dumped)" : ""); |
502 #else | |
503 ngx_log_error(NGX_LOG_ALERT, ngx_cycle->log, 0, | |
504 "%s %P exited on signal %d", | |
505 process, pid, WTERMSIG(status)); | |
506 #endif | |
501 | 507 |
502 } else { | 508 } else { |
503 ngx_log_error(NGX_LOG_NOTICE, ngx_cycle->log, 0, | 509 ngx_log_error(NGX_LOG_NOTICE, ngx_cycle->log, 0, |
504 "%s %P exited with code %d", | 510 "%s %P exited with code %d", |
505 process, pid, WEXITSTATUS(status)); | 511 process, pid, WEXITSTATUS(status)); |