Mercurial > hg > nginx-vendor-1-0
annotate auto/types/uintptr_t @ 646:09a689c5e494 NGINX_1_0_13
nginx 1.0.13
*) Feature: the "return" and "error_page" directives can now be used to
return 307 redirections.
*) Bugfix: a segmentation fault might occur in a worker process if the
"resolver" directive was used and there was no "error_log" directive
specified at global level.
Thanks to Roman Arutyunyan.
*) Bugfix: memory leaks.
Thanks to Lanshun Zhou.
*) Bugfix: nginx might log incorrect error "upstream prematurely closed
connection" instead of correct "upstream sent too big header" one.
Thanks to Feibo Li.
*) Bugfix: on ZFS filesystem disk cache size might be calculated
incorrectly; the bug had appeared in 1.0.1.
*) Bugfix: the number of internal redirects to named locations was not
limited.
*) Bugfix: temporary files might be not removed if the "proxy_store"
directive was used with SSI includes.
*) Bugfix: in some cases non-cacheable variables (such as the $args
variable) returned old empty cached value.
*) Bugfix: the "proxy_redirect" directives might be inherited
incorrectly.
*) Bugfix: nginx could not be built with the ngx_http_perl_module if the
--with-openssl option was used.
*) Bugfix: nginx could not be built by the icc 12.1 compiler.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 05 Mar 2012 00:00:00 +0400 |
parents | ad25218fd14b |
children |
rev | line source |
---|---|
0 | 1 |
2 # Copyright (C) Igor Sysoev | |
644 | 3 # Copyright (C) Nginx, Inc. |
0 | 4 |
5 | |
4 | 6 echo $ngx_n "checking for uintptr_t ...$ngx_c" |
0 | 7 echo >> $NGX_ERR |
8 echo "checking for uintptr_t" >> $NGX_ERR | |
9 | |
10 found=no | |
11 | |
12 cat << END > $NGX_AUTOTEST.c | |
13 | |
14 #include <sys/types.h> | |
15 $NGX_INTTYPES_H | |
16 | |
17 int main() { | |
18 uintptr_t i = 0; | |
19 return 0; | |
20 } | |
21 | |
22 END | |
23 | |
24 eval "$CC -o $NGX_AUTOTEST $NGX_AUTOTEST.c >> $NGX_ERR 2>&1" | |
25 | |
26 if [ -x $NGX_AUTOTEST ]; then | |
27 echo " uintptr_t found" | |
28 found=yes | |
29 else | |
30 echo $ngx_n " uintptr_t not found" $ngx_c | |
31 fi | |
32 | |
33 rm $NGX_AUTOTEST* | |
34 | |
35 | |
36 if [ $found = no ]; then | |
37 found="uint`expr 8 \* $ngx_ptr_size`_t" | |
38 echo ", $found used" | |
39 | |
324 | 40 echo "typedef $found uintptr_t;" >> $NGX_AUTO_CONFIG_H |
41 echo "typedef $found intptr_t;" | sed -e 's/u//g' >> $NGX_AUTO_CONFIG_H | |
0 | 42 fi |