summaryrefslogtreecommitdiffhomepage
path: root/src/os/unix/ngx_process.c
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2012-11-12 18:39:51 +0000
committerMaxim Dounin <mdounin@mdounin.ru>2012-11-12 18:39:51 +0000
commit033598bc073da23dcec5e4ea80b85cccecd8958a (patch)
treeb5c907bbebaefe9915049d45aef7610d03157527 /src/os/unix/ngx_process.c
parentd39777712d97180ff439461813083cbc7892a2a1 (diff)
downloadnginx-033598bc073da23dcec5e4ea80b85cccecd8958a.tar.gz
nginx-033598bc073da23dcec5e4ea80b85cccecd8958a.tar.bz2
Merge of r4870, r4871, r4890, r4895: minor fixes.
*) Made sure to initialize the entire ngx_file_t structure. Found by Coverity. *) Correct plural form for "path" in the whole source base. *) Removed conditional compilation from waitpid() error test. There are reports that call to a signal handler for an exited process despite waitpid() already called for the process may happen on Linux as well. *) Style, parentheses instead of braces in misc/GNUMakefile.
Diffstat (limited to '')
-rw-r--r--src/os/unix/ngx_process.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/os/unix/ngx_process.c b/src/os/unix/ngx_process.c
index 5713ca8e1..4ef3582e8 100644
--- a/src/os/unix/ngx_process.c
+++ b/src/os/unix/ngx_process.c
@@ -474,8 +474,6 @@ ngx_process_get_status(void)
return;
}
-#if (NGX_SOLARIS || NGX_FREEBSD)
-
/*
* Solaris always calls the signal handler for each exited process
* despite waitpid() may be already called for this process.
@@ -491,8 +489,6 @@ ngx_process_get_status(void)
return;
}
-#endif
-
ngx_log_error(NGX_LOG_ALERT, ngx_cycle->log, err,
"waitpid() failed");
return;