diff options
author | Igor Sysoev <igor@sysoev.ru> | 2004-11-11 14:00:51 +0000 |
---|---|---|
committer | Jonathan Kolb <jon@b0g.us> | 2004-11-11 14:00:51 +0000 |
commit | 34657fc5efa99f80c13deec0c3f5d3774b97b920 (patch) | |
tree | 0c8abef4c96147f4d928107cdd1e846f350c34b5 /src/core/ngx_palloc.c | |
parent | 4778f02ca6d950751fcc59b55ff1c44a5eba528c (diff) | |
download | nginx-0.1.5.tar.gz |
Changes with nginx 0.1.5 11 Nov 2004v0.1.5
*) 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.
Diffstat (limited to 'src/core/ngx_palloc.c')
-rw-r--r-- | src/core/ngx_palloc.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/core/ngx_palloc.c b/src/core/ngx_palloc.c index e41e971f9..ed13de513 100644 --- a/src/core/ngx_palloc.c +++ b/src/core/ngx_palloc.c @@ -33,8 +33,7 @@ void ngx_destroy_pool(ngx_pool_t *pool) for (l = pool->large; l; l = l->next) { - ngx_log_debug1(NGX_LOG_DEBUG_ALLOC, pool->log, 0, - "free: " PTR_FMT, l->alloc); + ngx_log_debug1(NGX_LOG_DEBUG_ALLOC, pool->log, 0, "free: %p", l->alloc); if (l->alloc) { free(l->alloc); @@ -50,8 +49,7 @@ void ngx_destroy_pool(ngx_pool_t *pool) for (p = pool, n = pool->next; /* void */; p = n, n = n->next) { ngx_log_debug2(NGX_LOG_DEBUG_ALLOC, pool->log, 0, - "free: " PTR_FMT ", unused: " SIZE_T_FMT, - p, p->end - p->last); + "free: %p, unused: %uz", p, p->end - p->last); if (n == NULL) { break; @@ -164,7 +162,7 @@ ngx_int_t ngx_pfree(ngx_pool_t *pool, void *p) for (l = pool->large; l; l = l->next) { if (p == l->alloc) { ngx_log_debug1(NGX_LOG_DEBUG_ALLOC, pool->log, 0, - "free: " PTR_FMT, l->alloc); + "free: %p", l->alloc); free(l->alloc); l->alloc = NULL; |