Mercurial > hg > nginx
changeset 2648:ccf282137109 stable-0.6
r2495 merge:
AIX has no WCOREDUMP()
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 01 Apr 2009 16:28:47 +0000 |
parents | 76add0af8e21 |
children | 0434fd856a2f |
files | src/os/unix/ngx_process.c |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/os/unix/ngx_process.c Wed Apr 01 16:28:06 2009 +0000 +++ b/src/os/unix/ngx_process.c Wed Apr 01 16:28:47 2009 +0000 @@ -494,10 +494,16 @@ } if (WTERMSIG(status)) { +#ifdef WCOREDUMP ngx_log_error(NGX_LOG_ALERT, ngx_cycle->log, 0, "%s %P exited on signal %d%s", process, pid, WTERMSIG(status), WCOREDUMP(status) ? " (core dumped)" : ""); +#else + ngx_log_error(NGX_LOG_ALERT, ngx_cycle->log, 0, + "%s %P exited on signal %d", + process, pid, WTERMSIG(status)); +#endif } else { ngx_log_error(NGX_LOG_NOTICE, ngx_cycle->log, 0,