comparison src/core/ngx_log.c @ 188:af37b7cb6698 NGINX_0_3_41

nginx 0.3.41 *) Feature: the -v switch. *) Bugfix: the segmentation fault may occurred if the SSI page has remote subrequests. *) Bugfix: in FastCGI handling. *) Bugfix: if the perl modules path was not set using --with-perl_modules_path=PATH or the "perl_modules", then the segmentation fault was occurred.
author Igor Sysoev <http://sysoev.ru>
date Fri, 21 Apr 2006 00:00:00 +0400
parents 8e6d4d96ec4c
children 6ae1357b7b7c
comparison
equal deleted inserted replaced
187:c0ed72c62dfa 188:af37b7cb6698
196 ngx_log.file = &ngx_stderr; 196 ngx_log.file = &ngx_stderr;
197 ngx_log.log_level = NGX_LOG_NOTICE; 197 ngx_log.log_level = NGX_LOG_NOTICE;
198 198
199 #if (NGX_WIN32) 199 #if (NGX_WIN32)
200 200
201 ngx_stderr_fileno = GetStdHandle(STD_ERROR_HANDLE);
202
201 ngx_stderr.fd = ngx_open_file(NGX_ERROR_LOG_PATH, NGX_FILE_RDWR, 203 ngx_stderr.fd = ngx_open_file(NGX_ERROR_LOG_PATH, NGX_FILE_RDWR,
202 NGX_FILE_CREATE_OR_OPEN|NGX_FILE_APPEND); 204 NGX_FILE_CREATE_OR_OPEN|NGX_FILE_APPEND);
203 205
204 if (ngx_stderr.fd == NGX_INVALID_FILE) { 206 if (ngx_stderr.fd == NGX_INVALID_FILE) {
205 ngx_message_box("nginx", MB_OK, ngx_errno, 207 ngx_message_box("nginx", MB_OK, ngx_errno,