nginx-0.1.0-2004-09-30-23:44:38 import

This commit is contained in:
Igor Sysoev 2004-09-30 19:44:38 +00:00
parent 0bc87e9ef4
commit 4bed15b9b5
2 changed files with 3 additions and 6 deletions

View File

@ -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;
}

View File

@ -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,