Mercurial > hg > nginx
comparison src/os/unix/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 |
---|---|
56 #define ngx_linefeed(p) *p++ = LF; | 56 #define ngx_linefeed(p) *p++ = LF; |
57 #define NGX_LINEFEED_SIZE 1 | 57 #define NGX_LINEFEED_SIZE 1 |
58 | 58 |
59 | 59 |
60 #define ngx_rename_file(o, n) rename((const char *) o, (const char *) n) | 60 #define ngx_rename_file(o, n) rename((const char *) o, (const char *) n) |
61 #define ngx_rename_file_n "rename" | 61 #define ngx_rename_file_n "rename()" |
62 | 62 |
63 | 63 |
64 #define ngx_change_file_access(n, a) chmod((const char *) n, a) | 64 #define ngx_change_file_access(n, a) chmod((const char *) n, a) |
65 #define ngx_change_file_access_n "chmod" | 65 #define ngx_change_file_access_n "chmod()" |
66 | |
67 | |
68 ngx_int_t ngx_set_file_time(u_char *name, ngx_fd_t fd, time_t s); | |
69 #define ngx_set_file_time_n "utimes()" | |
66 | 70 |
67 | 71 |
68 #define ngx_file_info(file, sb) stat((const char *) file, sb) | 72 #define ngx_file_info(file, sb) stat((const char *) file, sb) |
69 #define ngx_file_info_n "stat()" | 73 #define ngx_file_info_n "stat()" |
70 | 74 |