Mercurial > hg > nginx
comparison src/core/nginx.c @ 182:3c49eaf3f522
nginx-0.0.1-2003-11-13-09:14:05 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 13 Nov 2003 06:14:05 +0000 |
parents | ef8c87afcfc5 |
children | d5f50cefc322 |
comparison
equal
deleted
inserted
replaced
181:811bdd2af794 | 182:3c49eaf3f522 |
---|---|
68 int i; | 68 int i; |
69 ngx_fd_t fd; | 69 ngx_fd_t fd; |
70 ngx_log_t *log; | 70 ngx_log_t *log; |
71 ngx_cycle_t *cycle; | 71 ngx_cycle_t *cycle; |
72 ngx_open_file_t *file; | 72 ngx_open_file_t *file; |
73 #if !(WIN32) | |
73 ngx_core_conf_t *ccf; | 74 ngx_core_conf_t *ccf; |
75 #endif | |
74 | 76 |
75 #if (NGX_DEBUG) && (__FreeBSD__) | 77 #if (NGX_DEBUG) && (__FreeBSD__) |
76 #if __FreeBSD_version >= 500014 | 78 #if __FreeBSD_version >= 500014 |
77 _malloc_options | 79 _malloc_options |
78 #else | 80 #else |
80 #endif | 82 #endif |
81 = "J"; | 83 = "J"; |
82 #endif | 84 #endif |
83 | 85 |
84 /* TODO */ ngx_max_sockets = -1; | 86 /* TODO */ ngx_max_sockets = -1; |
87 | |
88 ngx_init_time(); | |
85 | 89 |
86 log = ngx_log_init_errlog(); | 90 log = ngx_log_init_errlog(); |
87 | 91 |
88 if (ngx_os_init(log) == NGX_ERROR) { | 92 if (ngx_os_init(log) == NGX_ERROR) { |
89 return 1; | 93 return 1; |