Mercurial > hg > nginx
comparison src/os/unix/ngx_errno.c @ 469:2ff194b74f1e release-0.1.9
nginx-0.1.9-RELEASE import
*) Bugfix: the proxied request was sent without arguments if the
request contains "//", "/./", "/../" or "%XX".
*) Bugfix: the large compressed responses may be transferred not
completely.
*) Bugfix: the files bigger than 2G was not transferred on Linux that
does not support sendfile64().
*) Bugfix: while the build configuration on Linux the
--with-poll_module parameter was required; the bug had appeared in
0.1.8.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 25 Nov 2004 16:17:31 +0000 |
parents | a88a3e4e158f |
children | d4ea69372b94 |
comparison
equal
deleted
inserted
replaced
468:1a67596d0349 | 469:2ff194b74f1e |
---|---|
6 | 6 |
7 #include <ngx_config.h> | 7 #include <ngx_config.h> |
8 #include <ngx_core.h> | 8 #include <ngx_core.h> |
9 | 9 |
10 | 10 |
11 #if (NGX_STRERROR_R) | 11 #if (NGX_HAVE_STRERROR_R) |
12 | 12 |
13 u_char *ngx_strerror_r(int err, u_char *errstr, size_t size) | 13 u_char *ngx_strerror_r(int err, u_char *errstr, size_t size) |
14 { | 14 { |
15 if (size == 0) { | 15 if (size == 0) { |
16 return 0; | 16 return 0; |
26 } | 26 } |
27 | 27 |
28 return errstr; | 28 return errstr; |
29 } | 29 } |
30 | 30 |
31 #elif (NGX_GNU_STRERROR_R) | 31 #elif (NGX_HAVE_GNU_STRERROR_R) |
32 | 32 |
33 /* Linux strerror_r() */ | 33 /* Linux strerror_r() */ |
34 | 34 |
35 u_char *ngx_strerror_r(int err, u_char *errstr, size_t size) | 35 u_char *ngx_strerror_r(int err, u_char *errstr, size_t size) |
36 { | 36 { |