Mercurial > hg > nginx-mail
comparison src/core/ngx_string.h @ 64:5db440287648 NGINX_0_1_32
nginx 0.1.32
*) Bugfix: the arguments were omitted in the redirects, issued by the
"rewrite" directive; bug appeared in 0.1.29.
*) Feature: the "if" directive supports the captures in regular
expressions.
*) Feature: the "set" directive supports the variables and the captures
of regular expressions.
*) Feature: the "X-Accel-Redirect" response header line is supported in
proxy and FastCGI mode.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Thu, 19 May 2005 00:00:00 +0400 |
parents | 0d75d65c642f |
children | 8ad297c88dcb |
comparison
equal
deleted
inserted
replaced
63:e42867135781 | 64:5db440287648 |
---|---|
57 /* | 57 /* |
58 * msvc and icc compile memset() to the inline "rep stos" | 58 * msvc and icc compile memset() to the inline "rep stos" |
59 * while ZeroMemory() and bzero() are the calls. | 59 * while ZeroMemory() and bzero() are the calls. |
60 * icc may also inline several mov's of a zeroed register for small blocks. | 60 * icc may also inline several mov's of a zeroed register for small blocks. |
61 */ | 61 */ |
62 #define ngx_memzero(buf, n) memset(buf, 0, n) | 62 #define ngx_memzero(buf, n) (void) memset(buf, 0, n) |
63 #define ngx_memset(buf, c, n) memset(buf, c, n) | 63 #define ngx_memset(buf, c, n) (void) memset(buf, c, n) |
64 | 64 |
65 | 65 |
66 /* msvc and icc compile memcpy() to the inline "rep movs" */ | 66 /* msvc and icc compile memcpy() to the inline "rep movs" */ |
67 #define ngx_memcpy(dst, src, n) memcpy(dst, src, n) | 67 #define ngx_memcpy(dst, src, n) (void) memcpy(dst, src, n) |
68 #define ngx_cpymem(dst, src, n) ((u_char *) memcpy(dst, src, n)) + (n) | 68 #define ngx_cpymem(dst, src, n) ((u_char *) memcpy(dst, src, n)) + (n) |
69 | 69 |
70 | 70 |
71 /* msvc and icc compile memcmp() to the inline loop */ | 71 /* msvc and icc compile memcmp() to the inline loop */ |
72 #define ngx_memcmp memcmp | 72 #define ngx_memcmp memcmp |