diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2009-04-12 09:35:30 +0000 |
|---|---|---|
| committer | Jonathan Kolb <jon@b0g.us> | 2009-04-12 09:35:30 +0000 |
| commit | b0e75119a75c319f70cc0ddd980fa92a8a716580 (patch) | |
| tree | 77a1c4008ced3eeb1361bb84a50fde009b459ee5 /src/os | |
| parent | 4234c4cf86bf09e030b2f937601efaf9dd442a04 (diff) | |
| download | nginx-b0e75119a75c319f70cc0ddd980fa92a8a716580.tar.gz | |
Changes with nginx 0.7.51 12 Apr 2009v0.7.51
*) Feature: the "try_files" directive supports a response code in the
fallback parameter.
*) Feature: now any response code can be used in the "return" directive.
*) Bugfix: the "error_page" directive made an external redirect without
query string; the bug had appeared in 0.7.44.
*) Bugfix: if servers listened on several defined explicitly addresses,
then virtual servers might not work; the bug had appeared in 0.7.39.
Diffstat (limited to 'src/os')
| -rw-r--r-- | src/os/unix/ngx_files.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/unix/ngx_files.h b/src/os/unix/ngx_files.h index 982ab12b3..c4d2b7f32 100644 --- a/src/os/unix/ngx_files.h +++ b/src/os/unix/ngx_files.h @@ -63,7 +63,7 @@ typedef struct { #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_TRUNCATE O_CREAT|O_TRUNC #define NGX_FILE_APPEND O_WRONLY|O_APPEND #define NGX_FILE_DEFAULT_ACCESS 0644 |
