Mercurial > hg > nginx
comparison auto/unix @ 461:a88a3e4e158f release-0.1.5
nginx-0.1.5-RELEASE import
*) Bugfix: on Solaris and Linux there may be too many "recvmsg()
returned not enough data" alerts.
*) Bugfix: there were the "writev() failed (22: Invalid argument)"
errors on Solaris in proxy mode without sendfile. On other platforms
that do not support sendfile at all the process got caught in an
endless loop.
*) Bugfix: segmentation fault on Solaris in proxy mode and using
sendfile.
*) Bugfix: segmentation fault on Solaris.
*) Bugfix: on-line upgrade did not work on Linux.
*) Bugfix: the ngx_http_autoindex_module module did not escape the
spaces, the quotes, and the percent signs in the directory listing.
*) Change: the decrease of the copy operations.
*) Feature: the userid_p3p directive.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 11 Nov 2004 14:07:14 +0000 |
parents | 295d97d70c69 |
children | bbd6b0b4a2b1 |
comparison
equal
deleted
inserted
replaced
460:5f8319142dfc | 461:a88a3e4e158f |
---|---|
6 ngx_fmt_collect=yes | 6 ngx_fmt_collect=yes |
7 | 7 |
8 # C types | 8 # C types |
9 | 9 |
10 ngx_type="int"; . auto/types/sizeof | 10 ngx_type="int"; . auto/types/sizeof |
11 ngx_formats="%d"; . auto/fmt/fmt | 11 #ngx_formats="%d"; . auto/fmt/fmt |
12 | 12 |
13 ngx_type="long"; . auto/types/sizeof | 13 ngx_type="long"; . auto/types/sizeof |
14 ngx_formats="%ld"; . auto/fmt/fmt | 14 #ngx_formats="%ld"; . auto/fmt/fmt |
15 | 15 |
16 ngx_type="long long"; . auto/types/sizeof | 16 ngx_type="long long"; . auto/types/sizeof |
17 ngx_formats="%lld %qd"; . auto/fmt/fmt | 17 #ngx_formats="%lld %qd"; . auto/fmt/fmt |
18 | 18 |
19 ngx_type="void *"; . auto/types/sizeof; ngx_ptr_size=$ngx_size | 19 ngx_type="void *"; . auto/types/sizeof; ngx_ptr_size=$ngx_size |
20 ngx_fmt_name=PTR_FMT; | 20 #ngx_fmt_name=PTR_FMT; |
21 eval ngx_formats=\${ngx_${ngx_ptr_size}_fmt}; . auto/fmt/ptrfmt | 21 #eval ngx_formats=\${ngx_${ngx_ptr_size}_fmt}; . auto/fmt/ptrfmt |
22 | 22 |
23 | 23 |
24 # POSIX types | 24 # POSIX types |
25 | 25 |
26 NGX_INCLUDE_AUTO_CONFIG_H="#include \"../$NGX_AUTO_CONFIG_H\"" | 26 NGX_INCLUDE_AUTO_CONFIG_H="#include \"../$NGX_AUTO_CONFIG_H\"" |
44 . auto/endianess | 44 . auto/endianess |
45 | 45 |
46 | 46 |
47 # printf() formats | 47 # printf() formats |
48 | 48 |
49 CC_WARN=$CC_STRONG | 49 #CC_WARN=$CC_STRONG |
50 ngx_fmt_collect=no | 50 #ngx_fmt_collect=no |
51 | 51 # |
52 ngx_fmt_name=OFF_T_FMT; ngx_type="off_t"; . auto/types/sizeof | 52 #ngx_fmt_name=OFF_T_FMT; ngx_type="off_t"; . auto/types/sizeof |
53 ngx_param=OFF_T_MAX_VALUE; ngx_value=$ngx_max_value; . auto/types/value | 53 ngx_param=OFF_T_MAX_VALUE; ngx_value=$ngx_max_value; . auto/types/value |
54 eval ngx_formats=\${ngx_${ngx_size}_fmt}; . auto/fmt/fmt | 54 #eval ngx_formats=\${ngx_${ngx_size}_fmt}; . auto/fmt/fmt |
55 | 55 # |
56 ngx_fmt_name=TIME_T_FMT; ngx_type="time_t"; . auto/types/sizeof | 56 #ngx_fmt_name=TIME_T_FMT; ngx_type="time_t"; . auto/types/sizeof |
57 ngx_param=TIME_T_SIZE; ngx_value=$ngx_size; . auto/types/value | 57 ngx_param=TIME_T_SIZE; ngx_value=$ngx_size; . auto/types/value |
58 ngx_param=TIME_T_LEN; ngx_value=$ngx_max_len; . auto/types/value | 58 ngx_param=TIME_T_LEN; ngx_value=$ngx_max_len; . auto/types/value |
59 eval ngx_formats=\${ngx_${ngx_size}_fmt}; . auto/fmt/fmt | 59 #eval ngx_formats=\${ngx_${ngx_size}_fmt}; . auto/fmt/fmt |
60 | 60 # |
61 ngx_fmt_name=SIZE_T_FMT; ngx_type="size_t"; . auto/types/sizeof | 61 #ngx_fmt_name=SIZE_T_FMT; ngx_type="size_t"; . auto/types/sizeof |
62 eval ngx_formats=\${ngx_${ngx_size}_fmt}; . auto/fmt/fmt | 62 #eval ngx_formats=\${ngx_${ngx_size}_fmt}; . auto/fmt/fmt |
63 | 63 # |
64 ngx_fmt_name=SIZE_T_X_FMT; . auto/fmt/xfmt | 64 #ngx_fmt_name=SIZE_T_X_FMT; . auto/fmt/xfmt |
65 | 65 # |
66 ngx_fmt_name=PID_T_FMT; ngx_type="pid_t"; . auto/types/sizeof | 66 #ngx_fmt_name=PID_T_FMT; ngx_type="pid_t"; . auto/types/sizeof |
67 eval ngx_formats=\${ngx_${ngx_size}_fmt}; . auto/fmt/fmt | 67 #eval ngx_formats=\${ngx_${ngx_size}_fmt}; . auto/fmt/fmt |
68 | 68 # |
69 ngx_fmt_name=RLIM_T_FMT; ngx_type="rlim_t"; . auto/types/sizeof | 69 #ngx_fmt_name=RLIM_T_FMT; ngx_type="rlim_t"; . auto/types/sizeof |
70 eval ngx_formats=\${ngx_${ngx_size}_fmt}; . auto/fmt/fmt | 70 #eval ngx_formats=\${ngx_${ngx_size}_fmt}; . auto/fmt/fmt |
71 | 71 |
72 | 72 |
73 # syscalls, libc calls and some features | 73 # syscalls, libc calls and some features |
74 | 74 |
75 | 75 |
91 . auto/feature | 91 . auto/feature |
92 | 92 |
93 | 93 |
94 ngx_feature="strerror_r()" | 94 ngx_feature="strerror_r()" |
95 ngx_feature_name="strerror_r" | 95 ngx_feature_name="strerror_r" |
96 ngx_feature_run=no | 96 ngx_feature_run=yes |
97 ngx_feature_incs="#include <string.h>" | 97 ngx_feature_incs="#include <string.h>" |
98 ngx_feature_libs= | 98 ngx_feature_libs= |
99 ngx_feature_test="char buf[20]; int n; n = strerror_r(1, buf, 20)" | 99 ngx_feature_test="char buf[32]; int n; n = strerror_r(1, buf, 32); |
100 . auto/feature | 100 if (n > 32) return 1;" |
101 | 101 . auto/feature |
102 | 102 |
103 ngx_feature="gnu_strerror_r()" | 103 |
104 # GNU style strerror_r() returns not length, but pointer | |
105 | |
106 ngx_feature="gnu style strerror_r()" | |
104 ngx_feature_name="gnu_strerror_r" | 107 ngx_feature_name="gnu_strerror_r" |
105 ngx_feature_run=no | 108 ngx_feature_run=yes |
106 ngx_feature_incs="#include <string.h>" | 109 ngx_feature_incs="#include <string.h>" |
107 ngx_feature_libs= | 110 ngx_feature_libs= |
108 ngx_feature_test="char buf[20], *str; str = strerror_r(1, buf, 20)" | 111 ngx_feature_test="char buf[32]; int n; n = strerror_r(1, buf, 32); |
112 if (n < 32) return 1;" | |
109 . auto/feature | 113 . auto/feature |
110 | 114 |
111 | 115 |
112 ngx_feature="localtime_r()" | 116 ngx_feature="localtime_r()" |
113 ngx_feature_name="localtime_r" | 117 ngx_feature_name="localtime_r" |
182 if (id == -1) return 1; | 186 if (id == -1) return 1; |
183 shmctl(id, IPC_RMID, NULL);" | 187 shmctl(id, IPC_RMID, NULL);" |
184 . auto/feature | 188 . auto/feature |
185 | 189 |
186 | 190 |
187 ngx_feature="struct sockaddr_in.sin_len" | |
188 ngx_feature_name="sin_len" | |
189 ngx_feature_run=no | |
190 ngx_feature_incs="#include <sys/socket.h> | |
191 #include <netinet/in.h>" | |
192 ngx_feature_libs= | |
193 ngx_feature_test="struct sockaddr_in sa; sa.sin_len = 5" | |
194 . auto/feature | |
195 | |
196 | |
197 ngx_feature="struct msghdr.msg_control" | 191 ngx_feature="struct msghdr.msg_control" |
198 ngx_feature_name="msghdr_msg_control" | 192 ngx_feature_name="msghdr_msg_control" |
199 ngx_feature_run=no | 193 ngx_feature_run=no |
200 ngx_feature_incs="#include <sys/socket.h>" | 194 ngx_feature_incs="#include <sys/socket.h>" |
201 ngx_feature_libs= | 195 ngx_feature_libs= |