mirror of
https://github.com/nginx/nginx.git
synced 2025-06-07 09:42:39 +08:00
axe Win9X code
This commit is contained in:
parent
872025fc51
commit
8820a9bcb3
@ -214,14 +214,9 @@ ngx_win32_rename_file(ngx_str_t *from, ngx_str_t *to, ngx_pool_t *pool)
|
||||
rc = NGX_OK;
|
||||
}
|
||||
|
||||
if (ngx_win32_version >= NGX_WIN_NT) {
|
||||
if (DeleteFile((const char *) name) == 0) {
|
||||
ngx_log_error(NGX_LOG_ERR, pool->log, ngx_errno,
|
||||
"DeleteFile() failed");
|
||||
}
|
||||
|
||||
} else {
|
||||
/* TODO: Win9X: update the open files table */
|
||||
if (DeleteFile((const char *) name) == 0) {
|
||||
ngx_log_error(NGX_LOG_ERR, pool->log, ngx_errno,
|
||||
"DeleteFile() failed");
|
||||
}
|
||||
|
||||
if (rc == NGX_ERROR) {
|
||||
|
Loading…
Reference in New Issue
Block a user