Mercurial > hg > nginx
changeset 4222:2dd6c7cb211a
FreeBSD's MALLOC_OPTIONS must be set before any malloc() call.
The bug has been introduced in r3799.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 24 Oct 2011 12:59:01 +0000 |
parents | 3203ddb78279 |
children | 1b779cb69dc8 |
files | src/core/nginx.c |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/core/nginx.c Fri Oct 21 11:04:46 2011 +0000 +++ b/src/core/nginx.c Mon Oct 24 12:59:01 2011 +0000 @@ -203,6 +203,10 @@ ngx_cycle_t *cycle, init_cycle; ngx_core_conf_t *ccf; +#if (NGX_FREEBSD) + ngx_debug_init(); +#endif + if (ngx_strerror_init() != NGX_OK) { return 1; } @@ -260,10 +264,6 @@ } } -#if (NGX_FREEBSD) - ngx_debug_init(); -#endif - /* TODO */ ngx_max_sockets = -1; ngx_time_init();