From 4ecb4d721de0d6ddc34dfff4dce294415b64b04b Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Fri, 21 Apr 2006 12:06:44 +0000 Subject: 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. --- src/core/ngx_log.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/core/ngx_log.c') diff --git a/src/core/ngx_log.c b/src/core/ngx_log.c index 9e23592ea..21d59780f 100644 --- a/src/core/ngx_log.c +++ b/src/core/ngx_log.c @@ -198,6 +198,8 @@ ngx_log_init(void) #if (NGX_WIN32) + ngx_stderr_fileno = GetStdHandle(STD_ERROR_HANDLE); + ngx_stderr.fd = ngx_open_file(NGX_ERROR_LOG_PATH, NGX_FILE_RDWR, NGX_FILE_CREATE_OR_OPEN|NGX_FILE_APPEND); -- cgit