Mercurial > hg > nginx
comparison src/os/unix/ngx_files.h @ 691:fd8a64f5dd3b
backout O_NOATIME support, it requires CAP_FOWNER capability
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 14 Sep 2006 15:05:48 +0000 |
parents | 364195c9ee00 |
children | 532d15ddbe68 |
comparison
equal
deleted
inserted
replaced
690:bd2a647882e4 | 691:fd8a64f5dd3b |
---|---|
26 #define NGX_FILE_CREATE_OR_OPEN O_CREAT | 26 #define NGX_FILE_CREATE_OR_OPEN O_CREAT |
27 #define NGX_FILE_OPEN 0 | 27 #define NGX_FILE_OPEN 0 |
28 #define NGX_FILE_TRUNCATE O_TRUNC | 28 #define NGX_FILE_TRUNCATE O_TRUNC |
29 #define NGX_FILE_APPEND O_APPEND | 29 #define NGX_FILE_APPEND O_APPEND |
30 | 30 |
31 #ifdef O_NOATIME | |
32 #define NGX_FILE_NOATIME O_NOATIME | |
33 #else | |
34 #define NGX_FILE_NOATIME 0 | |
35 #endif | |
36 | 31 |
37 #define ngx_close_file close | 32 #define ngx_close_file close |
38 #define ngx_close_file_n "close()" | 33 #define ngx_close_file_n "close()" |
39 | 34 |
40 | 35 |