Mercurial > hg > nginx-mail
annotate auto/types/sizeof @ 78:9db7e0b5b27f NGINX_0_1_39
nginx 0.1.39
*) The changes in the ngx_http_charset_module: the "default_charset"
directive was canceled; the "charset" directive sets the response
charset; the "source_charset" directive sets the source charset only.
*) Bugfix: the backend "WWW-Authenticate" header line did not
transferred while the 401 response code redirecting.
*) Bugfix: the ngx_http_proxy_module and ngx_http_fastcgi_module may
close a connection before anything was transferred to a client; bug
appeared in 0.1.38.
*) Workaround: the Linux glibc crypt_r() initialization bug.
*) Bugfix: the ngx_http_ssi_module did not support the relative URI in
the "include virtual" command.
*) Bugfix: if the backend response had the "Location" header line and
nginx should not rewrite this line, then the 500 code response body
was transferred; bug appeared in 0.1.29.
*) Bugfix: some directives of the ngx_http_proxy_module and
ngx_http_fastcgi_module were not inherited from the server to the
location level; bug appeared in 0.1.29.
*) Bugfix: the ngx_http_ssl_module did not support the certificate
chain.
*) Bugfix: the ngx_http_autoindex_module did not show correctly the
long file names; bug appeared in 0.1.38.
*) Bugfixes in IMAP/POP3 proxy in interaction with a backend at the
login state.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Thu, 14 Jul 2005 00:00:00 +0400 |
parents | 4b2dafa26fe2 |
children | df17fbafec8f |
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 |
34 ngx_test="$CC $CC_TEST_FLAGS $CC_AUX_FLAGS -o $NGX_AUTOTEST $NGX_AUTOTEST.c" | |
35 eval "$ngx_test >> $NGX_AUTOCONF_ERR 2>&1" | |
36 | |
0 | 37 |
38 if [ -x $NGX_AUTOTEST ]; then | |
39 ngx_size=`$NGX_AUTOTEST` | |
40 echo " $ngx_size bytes" | |
41 fi | |
42 | |
4 | 43 |
44 rm -f $NGX_AUTOTEST | |
45 | |
0 | 46 |
47 case $ngx_size in | |
48 4) | |
49 if [ "$ngx_type"="long" ]; then | |
50 ngx_max_value=2147483647L | |
51 else | |
52 ngx_max_value=2147483647 | |
53 fi | |
54 | |
55 ngx_max_len='sizeof("-2147483648") - 1' | |
56 ;; | |
57 | |
58 8) | |
59 if [ "$ngx_type"="long long" ]; then | |
60 ngx_max_value=9223372036854775807LL | |
61 else | |
62 ngx_max_value=9223372036854775807L | |
63 fi | |
64 | |
65 ngx_max_len='sizeof("-9223372036854775808") - 1' | |
66 ;; | |
67 | |
68 *) | |
69 echo | |
70 echo "$0: error: can not detect $ngx_type size" | |
4 | 71 |
72 echo "----------" >> $NGX_AUTOCONF_ERR | |
73 cat $NGX_AUTOTEST.c >> $NGX_AUTOCONF_ERR | |
74 echo "----------" >> $NGX_AUTOCONF_ERR | |
75 echo $ngx_test >> $NGX_AUTOCONF_ERR | |
76 echo "----------" >> $NGX_AUTOCONF_ERR | |
77 | |
0 | 78 exit 1 |
79 esac | |
4 | 80 |