Mercurial > hg > nginx-quic
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 +++ b/auto/os/conf @@ -83,7 +83,7 @@ case "$NGX_MACHINE" in 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 +++ b/src/core/nginx.c @@ -352,7 +352,8 @@ ngx_add_inherited_sockets(ngx_cycle_t *c "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; }