aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_log.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2006-04-21 12:06:44 +0000
committerIgor Sysoev <igor@sysoev.ru>2006-04-21 12:06:44 +0000
commit4ecb4d721de0d6ddc34dfff4dce294415b64b04b (patch)
treefe9970fbe823741145cee16261003083b31e949d /src/core/ngx_log.c
parent7d2d90ce71669e5a5ccb91386d0529df39b1c804 (diff)
downloadnginx-release-0.3.41.tar.gz
nginx-release-0.3.41.zip
nginx-0.3.41-RELEASE importrelease-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.
Diffstat (limited to 'src/core/ngx_log.c')
-rw-r--r--src/core/ngx_log.c2
1 files changed, 2 insertions, 0 deletions
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);