diff options
Diffstat (limited to 'src/os/win32/ngx_files.c')
-rw-r--r-- | src/os/win32/ngx_files.c | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/src/os/win32/ngx_files.c b/src/os/win32/ngx_files.c index ce0fdc966..bea580b24 100644 --- a/src/os/win32/ngx_files.c +++ b/src/os/win32/ngx_files.c @@ -179,7 +179,8 @@ ngx_int_t ngx_win32_rename_file(ngx_str_t *from, ngx_str_t *to, ngx_uint_t collision; ngx_atomic_uint_t num; - if (!(name = ngx_palloc(pool, to->len + 1 + 10 + 1 + sizeof("DELETE")))) { + name = ngx_palloc(pool, to->len + 1 + 10 + 1 + sizeof("DELETE")); + if (name == NULL) { return NGX_ERROR; } @@ -301,6 +302,20 @@ ngx_int_t ngx_read_dir(ngx_dir_t *dir) } +ngx_int_t +ngx_de_info(u_char *name, ngx_dir_t *dir) +{ + return NGX_OK; +} + + +ngx_int_t +ngx_de_link_info(u_char *name, ngx_dir_t *dir) +{ + return NGX_OK; +} + + ngx_int_t ngx_file_append_mode(ngx_fd_t fd) { #if 0 |