aboutsummaryrefslogtreecommitdiff
path: root/src/os/win32/ngx_files.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2006-08-04 16:04:04 +0000
committerIgor Sysoev <igor@sysoev.ru>2006-08-04 16:04:04 +0000
commitb71c690895870290663dd4eef453d195209269ce (patch)
treef95ec569e2482a95ee2789e5e25991d0fbbb92e6 /src/os/win32/ngx_files.h
parent9bda615eef680b3a2ea8ceccb51a872a4bcc340e (diff)
downloadnginx-b71c690895870290663dd4eef453d195209269ce.tar.gz
nginx-b71c690895870290663dd4eef453d195209269ce.zip
nginx-0.3.56-RELEASE importrelease-0.3.56
*) Feature: the "dav_access" directive. *) Feature: the "if" directive supports the "-d", "!-d", "-e", "!-e", "-x", and "!-x" operators. *) Bugfix: a segmentation fault occurred if a request returned a redirect and some sent to client header lines were logged in the access log.
Diffstat (limited to 'src/os/win32/ngx_files.h')
-rw-r--r--src/os/win32/ngx_files.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/os/win32/ngx_files.h b/src/os/win32/ngx_files.h
index beba0a83a..b1c72300a 100644
--- a/src/os/win32/ngx_files.h
+++ b/src/os/win32/ngx_files.h
@@ -90,6 +90,7 @@ ngx_int_t ngx_file_info(u_char *filename, ngx_file_info_t *fi);
#define ngx_is_dir(fi) ((fi)->dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY)
#define ngx_is_file(fi) !((fi)->dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY)
+#define ngx_is_link(fi) 0
#define ngx_file_size(fi) \
@@ -127,7 +128,7 @@ ngx_int_t ngx_read_dir(ngx_dir_t *dir);
#define ngx_close_dir_n "FindClose()"
-#define ngx_create_dir(name) CreateDirectory((const char *) name, NULL)
+#define ngx_create_dir(name, access) CreateDirectory((const char *) name, NULL)
#define ngx_create_dir_n "CreateDirectory()"