]> git.kaiwu.me - nginx.git/commit
Core: fixed stderr redirection on win32 in ngx_reopen_files().
authorVladimir Homutov <vl@nginx.com>
Mon, 3 Jun 2013 12:54:28 +0000 (16:54 +0400)
committerVladimir Homutov <vl@nginx.com>
Mon, 3 Jun 2013 12:54:28 +0000 (16:54 +0400)
commit9db2eddd8ad9da27a68e4551fbb78ccd79470b6c
tree9af48557f03d2e41ef23ca756ac9b7e9bed1d86a
parent43b2e07b963e2e4a9d9cbc0be6d858544bb2561f
Core: fixed stderr redirection on win32 in ngx_reopen_files().

On win32 stderr was not redirected into a file specified by "error_log"
while reopening files.  Fix is to use platform-independent functions to
work with stderr, as already used by ngx_init_cycle() and main() since
rev. d8316f307b6a.
src/core/ngx_cycle.c