aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2004-05-11 16:16:13 +0000
committerIgor Sysoev <igor@sysoev.ru>2004-05-11 16:16:13 +0000
commitd365af4a15a86f4d3f2774b197ef417dbce8a164 (patch)
treeb7b7ef7a83d30d2e2f8ff474e4da825159281ddf /src/os/unix
parent11688f8a53743e41e807aae1179a6d552d87372e (diff)
downloadnginx-d365af4a15a86f4d3f2774b197ef417dbce8a164.tar.gz
nginx-d365af4a15a86f4d3f2774b197ef417dbce8a164.zip
nginx-0.0.3-2004-05-11-20:16:13 import
Diffstat (limited to 'src/os/unix')
-rw-r--r--src/os/unix/ngx_files.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/os/unix/ngx_files.h b/src/os/unix/ngx_files.h
index afc5367a3..9fe837092 100644
--- a/src/os/unix/ngx_files.h
+++ b/src/os/unix/ngx_files.h
@@ -19,6 +19,7 @@
#define NGX_FILE_RDWR O_RDWR
#define NGX_FILE_CREATE_OR_OPEN O_CREAT
#define NGX_FILE_OPEN 0
+#define NGX_FILE_TRUNCATE O_TRUNC
#define NGX_FILE_APPEND O_APPEND