Mercurial > hg > nginx-vendor-current
comparison src/os/unix/ngx_alloc.c @ 548:ab7d265273ed NGINX_0_8_26
nginx 0.8.26
*) Bugfix: in captures usage in "rewrite" directive; the bug had
appeared in 0.8.25.
*) Bugfix: nginx could not be built without the --with-debug option;
the bug had appeared in 0.8.25.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 16 Nov 2009 00:00:00 +0300 |
parents | e19e5f542878 |
children | d0f7a625f27c |
comparison
equal
deleted
inserted
replaced
547:43154840419e | 548:ab7d265273ed |
---|---|
59 ngx_log_error(NGX_LOG_EMERG, log, err, | 59 ngx_log_error(NGX_LOG_EMERG, log, err, |
60 "posix_memalign(%uz, %uz) failed", alignment, size); | 60 "posix_memalign(%uz, %uz) failed", alignment, size); |
61 p = NULL; | 61 p = NULL; |
62 } | 62 } |
63 | 63 |
64 ngx_log_debug2(NGX_LOG_DEBUG_ALLOC, log, 0, | 64 ngx_log_debug3(NGX_LOG_DEBUG_ALLOC, log, 0, |
65 "posix_memalign: %p:%uz @%uz", p, size, alignment); | 65 "posix_memalign: %p:%uz @%uz", p, size, alignment); |
66 | 66 |
67 return p; | 67 return p; |
68 } | 68 } |
69 | 69 |
78 if (p == NULL) { | 78 if (p == NULL) { |
79 ngx_log_error(NGX_LOG_EMERG, log, ngx_errno, | 79 ngx_log_error(NGX_LOG_EMERG, log, ngx_errno, |
80 "memalign(%uz, %uz) failed", alignment, size); | 80 "memalign(%uz, %uz) failed", alignment, size); |
81 } | 81 } |
82 | 82 |
83 ngx_log_debug2(NGX_LOG_DEBUG_ALLOC, log, 0, | 83 ngx_log_debug3(NGX_LOG_DEBUG_ALLOC, log, 0, |
84 "memalign: %p:%uz @%uz", p, size, alignment); | 84 "memalign: %p:%uz @%uz", p, size, alignment); |
85 | 85 |
86 return p; | 86 return p; |
87 } | 87 } |
88 | 88 |