comparison src/core/ngx_log.c @ 639:715d24327080 release-0.3.41

nginx-0.3.41-RELEASE import *) 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 <igor@sysoev.ru>
date Fri, 21 Apr 2006 12:06:44 +0000
parents d4e858a5751a
children 201d017ea470
comparison
equal deleted inserted replaced
638:76bf795b5a02 639:715d24327080
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,