mirror of
https://github.com/nginx/nginx.git
synced 2024-12-20 14:13:33 -06:00
nginx-0.1.0-2004-09-30-23:44:38 import
This commit is contained in:
parent
0bc87e9ef4
commit
4bed15b9b5
@ -632,15 +632,12 @@ ngx_open_file_t *ngx_conf_open_file(ngx_cycle_t *cycle, ngx_str_t *name)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
file->fd = NGX_INVALID_FILE;
|
||||
|
||||
if (name) {
|
||||
file->fd = NGX_INVALID_FILE;
|
||||
file->name = full;
|
||||
|
||||
} else {
|
||||
|
||||
/* stderr */
|
||||
|
||||
file->fd = STDERR_FILENO;
|
||||
file->name.len = 0;
|
||||
file->name.data = NULL;
|
||||
}
|
||||
|
@ -223,7 +223,7 @@ ngx_cycle_t *ngx_init_cycle(ngx_cycle_t *old_cycle)
|
||||
NGX_FILE_RDWR,
|
||||
NGX_FILE_CREATE_OR_OPEN|NGX_FILE_APPEND);
|
||||
|
||||
#if 0
|
||||
#if 1
|
||||
log->log_level = NGX_LOG_DEBUG_ALL;
|
||||
#endif
|
||||
ngx_log_debug3(NGX_LOG_DEBUG_CORE, log, 0,
|
||||
|
Loading…
Reference in New Issue
Block a user