Mercurial > hg > nginx-vendor-1-0
diff src/core/ngx_file.c @ 556:25255878df91 NGINX_0_8_30
nginx 0.8.30
*) Change: now the default buffer size of the
"large_client_header_buffers" directive is 8K.
Thanks to Andrew Cholakian.
*) Feature: the conf/fastcgi.conf for simple FastCGI configurations.
*) Bugfix: nginx/Windows tried to rename a temporary file twice if the
file should replace an already existent file.
*) Bugfix: of "double free or corruption" error issued if host could
not be resolved; the bug had appeared in 0.8.22.
Thanks to Konstantin Svist.
*) Bugfix: in libatomic usage on some platforms.
Thanks to W-Mark Kubacki.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Tue, 15 Dec 2009 00:00:00 +0300 |
parents | 0dc162a5f3e8 |
children | 2da4537168f8 |
line wrap: on
line diff
--- a/src/core/ngx_file.c +++ b/src/core/ngx_file.c @@ -591,17 +591,7 @@ ngx_ext_rename_file(ngx_str_t *src, ngx_ #if (NGX_WIN32) if (err == NGX_EEXIST) { - if (ngx_win32_rename_file(src, to, ext->log) == NGX_OK) { - - if (ngx_rename_file(src->data, to->data) != NGX_FILE_ERROR) { - return NGX_OK; - } - - err = ngx_errno; - - } else { - err = 0; - } + err = ngx_win32_rename_file(src, to, ext->log); } #endif