comparison src/os/unix/ngx_files.h @ 230:38e7b94d63ac NGINX_0_4_0

nginx 0.4.0 *) 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; bug appeared in 0.1.29.
author Igor Sysoev <http://sysoev.ru>
date Wed, 30 Aug 2006 00:00:00 +0400
parents 1bf60f8c5c9e
children d8f5c91a5c07
comparison
equal deleted inserted replaced
229:1965c8e23be7 230:38e7b94d63ac
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