diff src/os/win32/ngx_files.h @ 3501:423ff11e3018

use lstat() for WebDAV DELETE, COPY, and MOVE to handle symlinks
author Igor Sysoev <igor@sysoev.ru>
date Thu, 22 Apr 2010 17:15:42 +0000
parents ac281bc4c187
children 515d50917016
line wrap: on
line diff
--- a/src/os/win32/ngx_files.h
+++ b/src/os/win32/ngx_files.h
@@ -128,6 +128,10 @@ ngx_int_t ngx_file_info(u_char *filename
 #define ngx_fd_info_n               "GetFileInformationByHandle()"
 
 
+#define ngx_link_info(name, fi)     ngx_file_info(name, fi)
+#define ngx_link_info_n             "GetFileAttributesEx()"
+
+
 #define ngx_is_dir(fi)                                                       \
     (((fi)->dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) != 0)
 #define ngx_is_file(fi)                                                      \