Mercurial > hg > nginx
comparison src/os/win32/ngx_files.h @ 681:7e24168b0853 release-0.4.0
nginx-0.4.0-RELEASE import
*) Change in internal API: the HTTP modules initialization was moved
from the init module phase to the HTTP postconfiguration phase.
*) Change: now the request body is not read beforehand for the
ngx_http_perl_module: it's required to start the reading using the
$r->has_request_body method.
*) Feature: the ngx_http_perl_module supports the DECLINED return code.
*) Feature: the ngx_http_dav_module supports the incoming "Date" header
line for the PUT method.
*) Feature: the "ssi" directive is available inside the "if" block.
*) Bugfix: a segmentation fault occurred if there was an "index"
directive with variables and the first index name was without
variables; the bug had appeared in 0.1.29.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 30 Aug 2006 10:39:17 +0000 |
parents | 562806624c4a |
children | 364195c9ee00 |
comparison
equal
deleted
inserted
replaced
680:63a949f7ed4f | 681:7e24168b0853 |
---|---|
78 #define ngx_rename_file_n "MoveFile()" | 78 #define ngx_rename_file_n "MoveFile()" |
79 ngx_int_t ngx_win32_rename_file(ngx_str_t *from, ngx_str_t *to, | 79 ngx_int_t ngx_win32_rename_file(ngx_str_t *from, ngx_str_t *to, |
80 ngx_pool_t *pool); | 80 ngx_pool_t *pool); |
81 | 81 |
82 | 82 |
83 | |
84 ngx_int_t ngx_set_file_time(u_char *name, ngx_fd_t fd, time_t s); | |
85 #define ngx_set_file_time_n "SetFileTime()" | |
86 | |
87 | |
83 ngx_int_t ngx_file_info(u_char *filename, ngx_file_info_t *fi); | 88 ngx_int_t ngx_file_info(u_char *filename, ngx_file_info_t *fi); |
84 #define ngx_file_info_n "GetFileAttributesEx()" | 89 #define ngx_file_info_n "GetFileAttributesEx()" |
85 | 90 |
86 | 91 |
87 #define ngx_fd_info(fd, fi) GetFileInformationByHandle(fd, fi) | 92 #define ngx_fd_info(fd, fi) GetFileInformationByHandle(fd, fi) |
88 #define ngx_fd_info_n "GetFileInformationByHandle" | 93 #define ngx_fd_info_n "GetFileInformationByHandle()" |
89 | 94 |
90 | 95 |
91 #define ngx_is_dir(fi) ((fi)->dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) | 96 #define ngx_is_dir(fi) ((fi)->dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) |
92 #define ngx_is_file(fi) !((fi)->dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) | 97 #define ngx_is_file(fi) !((fi)->dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) |
93 #define ngx_is_link(fi) 0 | 98 #define ngx_is_link(fi) 0 |