comparison auto/unix @ 604:428c6e58046a NGINX_0_9_0

nginx 0.9.0 *) Feature: the "keepalive_disable" directive. *) Feature: the "map" directive supports variables as value of a defined variable. *) Feature: the "map" directive supports empty strings as value of the first parameter. *) Feature: the "map" directive supports expressions as the first parameter. *) Feature: nginx(8) manual page. Thanks to Sergey Osokin. *) Feature: Linux accept4() support. Thanks to Simon Liu. *) Workaround: elimination of Linux linker warning about "sys_errlist" and "sys_nerr"; the warning had appeared in 0.8.35. *) Bugfix: a segmentation fault might occur in a worker process, if the "auth_basic" directive was used. Thanks to Michail Laletin. *) Bugfix: compatibility with ngx_http_eval_module; the bug had appeared in 0.8.42.
author Igor Sysoev <http://sysoev.ru>
date Mon, 29 Nov 2010 00:00:00 +0300
parents be4f34123024
children 3036c1836a24
comparison
equal deleted inserted replaced
603:94ea26a3b3aa 604:428c6e58046a
107 ngx_feature_libs= 107 ngx_feature_libs=
108 ngx_feature_test="char buf[1]; ssize_t n; n = pwrite(1, buf, 1, 0)" 108 ngx_feature_test="char buf[1]; ssize_t n; n = pwrite(1, buf, 1, 0)"
109 . auto/feature 109 . auto/feature
110 110
111 111
112 ngx_feature="strerror_r()" 112 ngx_feature="sys_nerr"
113 ngx_feature_name="NGX_HAVE_STRERROR_R" 113 ngx_feature_name="NGX_SYS_NERR"
114 ngx_feature_run=yes 114 ngx_feature_run=value
115 ngx_feature_incs="#include <string.h>" 115 ngx_feature_incs='#include <stdio.h>'
116 ngx_feature_path= 116 ngx_feature_path=
117 ngx_feature_libs= 117 ngx_feature_libs=
118 ngx_feature_test="char buf[1024]; long n; n = strerror_r(1, buf, 1024); 118 ngx_feature_test='printf("%d", sys_nerr);'
119 if (n < 0 || n > 1024) return 1;"
120 . auto/feature
121
122
123 # GNU style strerror_r() returns not length, but pointer
124
125 ngx_feature="gnu style strerror_r()"
126 ngx_feature_name="NGX_HAVE_GNU_STRERROR_R"
127 ngx_feature_run=yes
128 ngx_feature_incs="#include <string.h>"
129 ngx_feature_path=
130 ngx_feature_libs=
131 ngx_feature_test="char buf[1024]; long n; n = strerror_r(1, buf, 1024);
132 if (n >= 0 && n < 1024) return 1;"
133 . auto/feature
134
135
136 ngx_feature="sys_errlist[]"
137 ngx_feature_name="NGX_HAVE_SYS_ERRLIST"
138 ngx_feature_run=yes
139 ngx_feature_incs="#include <stdio.h>"
140 ngx_feature_path=
141 ngx_feature_libs=
142 ngx_feature_test="int n = sys_nerr; const char *p = sys_errlist[1];"
143 . auto/feature 119 . auto/feature
144 120
145 121
146 ngx_feature="localtime_r()" 122 ngx_feature="localtime_r()"
147 ngx_feature_name="NGX_HAVE_LOCALTIME_R" 123 ngx_feature_name="NGX_HAVE_LOCALTIME_R"