Mercurial > hg > nginx-vendor-0-6
annotate auto/types/sizeof @ 384:09b703ae3ba5 NGINX_0_6_36
nginx 0.6.36
*) Change: now the "Invalid argument" error returned by
setsockopt(TCP_NODELAY) on Solaris, is ignored.
*) Change: now POSTs without "Content-Length" header line are allowed.
*) Feature: the "try_files" directive.
*) Feature: the --with-pcre option in the configure.
*) Feature: the "if_modified_since" directive.
*) Feature: the "$cookie_..." variables.
*) Feature: the "$arg_..." variables.
*) Bugfix: compatibility with Tru64 UNIX.
Thanks to Dustin Marquess.
*) Bugfix: a "ssl_engine" directive did not use a SSL-accelerator for
asymmetric ciphers.
Thanks to Marcin Gozdalik.
*) Bugfix: in a redirect rewrite directive original arguments were
concatenated with new arguments by a "?" rather than an "&";
the bug had appeared in 0.1.18.
Thanks to Maxim Dounin.
*) Bugfix: nginx could not be built on AIX.
*) Bugfix: a double response might be returned if the epoll or rtsig
methods are used and a redirect was returned to a request with
body.
Thanks to Eden Li.
*) Bugfix: a segmentation fault might occur in worker process if
"resolver" directive was used in SMTP proxy.
*) Bugfix: fastcgi_store stored files not always.
*) Bugfix: nginx did not process a FastCGI server response, if the
server send too many messages to stderr before response.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Thu, 02 Apr 2009 00:00:00 +0400 |
parents | 3866d57d9cfd |
children |
rev | line source |
---|---|
0 | 1 |
2 # Copyright (C) Igor Sysoev | |
3 | |
4 | |
4 | 5 echo $ngx_n "checking for $ngx_type size ...$ngx_c" |
6 | |
7 cat << END >> $NGX_AUTOCONF_ERR | |
8 | |
9 ---------------------------------------- | |
10 checking for $ngx_type size | |
11 | |
12 END | |
0 | 13 |
14 ngx_size= | |
15 | |
16 cat << END > $NGX_AUTOTEST.c | |
17 | |
18 #include <sys/types.h> | |
19 #include <sys/time.h> | |
4 | 20 $NGX_INCLUDE_UNISTD_H |
0 | 21 #include <signal.h> |
22 #include <sys/resource.h> | |
4 | 23 $NGX_INCLUDE_INTTYPES_H |
24 $NGX_INCLUDE_AUTO_CONFIG_H | |
0 | 25 |
26 int main() { | |
27 printf("%d", sizeof($ngx_type)); | |
28 return 0; | |
29 } | |
30 | |
31 END | |
32 | |
4 | 33 |
132 | 34 ngx_test="$CC $CC_TEST_FLAGS $CC_AUX_FLAGS \ |
126 | 35 -o $NGX_AUTOTEST $NGX_AUTOTEST.c $NGX_LD_OPT $ngx_feature_libs" |
36 | |
4 | 37 eval "$ngx_test >> $NGX_AUTOCONF_ERR 2>&1" |
38 | |
0 | 39 |
40 if [ -x $NGX_AUTOTEST ]; then | |
41 ngx_size=`$NGX_AUTOTEST` | |
42 echo " $ngx_size bytes" | |
43 fi | |
44 | |
4 | 45 |
46 rm -f $NGX_AUTOTEST | |
47 | |
0 | 48 |
49 case $ngx_size in | |
50 4) | |
51 if [ "$ngx_type"="long" ]; then | |
52 ngx_max_value=2147483647L | |
53 else | |
54 ngx_max_value=2147483647 | |
55 fi | |
56 | |
206 | 57 ngx_max_len='(sizeof("-2147483648") - 1)' |
0 | 58 ;; |
59 | |
60 8) | |
61 if [ "$ngx_type"="long long" ]; then | |
62 ngx_max_value=9223372036854775807LL | |
63 else | |
64 ngx_max_value=9223372036854775807L | |
65 fi | |
66 | |
206 | 67 ngx_max_len='(sizeof("-9223372036854775808") - 1)' |
0 | 68 ;; |
69 | |
70 *) | |
71 echo | |
72 echo "$0: error: can not detect $ngx_type size" | |
4 | 73 |
74 echo "----------" >> $NGX_AUTOCONF_ERR | |
75 cat $NGX_AUTOTEST.c >> $NGX_AUTOCONF_ERR | |
76 echo "----------" >> $NGX_AUTOCONF_ERR | |
77 echo $ngx_test >> $NGX_AUTOCONF_ERR | |
78 echo "----------" >> $NGX_AUTOCONF_ERR | |
79 | |
0 | 80 exit 1 |
81 esac | |
4 | 82 |