Mercurial > hg > nginx
comparison src/os/win32/ngx_files.h @ 3200:26784c34e8be
*) reset cached dirent.d_type after stat()
this fixes slash after link to a directory in ngx_http_autoindex_module;
*) use cached dirent.d_type as hint on all systems
the issues has been introduced in r2235
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 14 Oct 2009 11:33:35 +0000 |
parents | 975f0558aab3 |
children | 6be1f25bae90 |
comparison
equal
deleted
inserted
replaced
3199:b242aaf1dcfa | 3200:26784c34e8be |
---|---|
19 typedef struct { | 19 typedef struct { |
20 HANDLE dir; | 20 HANDLE dir; |
21 WIN32_FIND_DATA finddata; | 21 WIN32_FIND_DATA finddata; |
22 | 22 |
23 unsigned valid_info:1; | 23 unsigned valid_info:1; |
24 unsigned valid_type:1; | 24 unsigned type:1; |
25 unsigned ready:1; | 25 unsigned ready:1; |
26 } ngx_dir_t; | 26 } ngx_dir_t; |
27 | 27 |
28 | 28 |
29 typedef struct { | 29 typedef struct { |