Mercurial > hg > nginx
comparison src/os/win32/ngx_files.h @ 8134:7d60e4584d9e
Win32: non-ASCII directory names support in ngx_delete_dir().
This makes it possible to delete directories with non-ASCII characters
when using the dav module (ticket #1433).
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Thu, 23 Feb 2023 20:49:47 +0300 |
parents | e0f385521c79 |
children | 4b06186670ed |
comparison
equal
deleted
inserted
replaced
8133:e0f385521c79 | 8134:7d60e4584d9e |
---|---|
204 | 204 |
205 ngx_int_t ngx_create_dir(u_char *name, ngx_uint_t access); | 205 ngx_int_t ngx_create_dir(u_char *name, ngx_uint_t access); |
206 #define ngx_create_dir_n "CreateDirectory()" | 206 #define ngx_create_dir_n "CreateDirectory()" |
207 | 207 |
208 | 208 |
209 #define ngx_delete_dir(name) RemoveDirectory((const char *) name) | 209 ngx_int_t ngx_delete_dir(u_char *name); |
210 #define ngx_delete_dir_n "RemoveDirectory()" | 210 #define ngx_delete_dir_n "RemoveDirectory()" |
211 | 211 |
212 | 212 |
213 #define ngx_dir_access(a) (a) | 213 #define ngx_dir_access(a) (a) |
214 | 214 |