Mercurial > hg > nginx
changeset 745:95aa79944291
add sun4v,
style fix
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 06 Oct 2006 13:02:23 +0000 |
parents | 34bb8726f454 |
children | e6faf88152df |
files | auto/os/conf src/core/nginx.c |
diffstat | 2 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/auto/os/conf Thu Oct 05 20:06:03 2006 +0000 +++ b/auto/os/conf Fri Oct 06 13:02:23 2006 +0000 @@ -83,7 +83,7 @@ NGX_MACH_CACHE_LINE=64 ;; - sun4u | sparc | sparc64) + sun4u | sun4v | sparc | sparc64) have=NGX_ALIGNMENT value=16 . auto/define # TODO NGX_MACH_CACHE_LINE=64
--- a/src/core/nginx.c Thu Oct 05 20:06:03 2006 +0000 +++ b/src/core/nginx.c Fri Oct 06 13:02:23 2006 +0000 @@ -352,7 +352,8 @@ "using inherited sockets from \"%s\"", inherited); if (ngx_array_init(&cycle->listening, cycle->pool, 10, - sizeof(ngx_listening_t)) == NGX_ERROR) + sizeof(ngx_listening_t)) + == NGX_ERROR) { return NGX_ERROR; }