aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_files.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2006-09-14 15:05:48 +0000
committerIgor Sysoev <igor@sysoev.ru>2006-09-14 15:05:48 +0000
commitfc54daadb100d3cb32d4d584dd73fca1d9e39509 (patch)
tree65a7b11ad069489ee8c8554ad824927f8eb51d59 /src/os/unix/ngx_files.h
parentbd39d9f66bf17f367fdf10cc7b4a8641e199ec90 (diff)
downloadnginx-fc54daadb100d3cb32d4d584dd73fca1d9e39509.tar.gz
nginx-fc54daadb100d3cb32d4d584dd73fca1d9e39509.zip
backout O_NOATIME support, it requires CAP_FOWNER capability
Diffstat (limited to 'src/os/unix/ngx_files.h')
-rw-r--r--src/os/unix/ngx_files.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/os/unix/ngx_files.h b/src/os/unix/ngx_files.h
index a5724bd20..ff2515699 100644
--- a/src/os/unix/ngx_files.h
+++ b/src/os/unix/ngx_files.h
@@ -28,11 +28,6 @@
#define NGX_FILE_TRUNCATE O_TRUNC
#define NGX_FILE_APPEND O_APPEND
-#ifdef O_NOATIME
-#define NGX_FILE_NOATIME O_NOATIME
-#else
-#define NGX_FILE_NOATIME 0
-#endif
#define ngx_close_file close
#define ngx_close_file_n "close()"