diff options
| author | Maxim Dounin <mdounin@mdounin.ru> | 2011-12-14 15:23:23 +0000 |
|---|---|---|
| committer | Maxim Dounin <mdounin@mdounin.ru> | 2011-12-14 15:23:23 +0000 |
| commit | e44e248c23b49d3037a4add578fa1778be6be315 (patch) | |
| tree | 7e0e4015614917ee7979e710a1e8e501a54be342 /src/os/unix/ngx_files.h | |
| parent | 214dfd3e22fed5d02ce54b9e81a899134c84f694 (diff) | |
| download | nginx-e44e248c23b49d3037a4add578fa1778be6be315.tar.gz nginx-e44e248c23b49d3037a4add578fa1778be6be315.tar.bz2 | |
Merge of r4284:
Introduction of simple ngx_write_stderr() instead of ngx_log_stderr()
for output of ./configure options, etc., since ngx_log_stderr() output
length is limited by 2048 characters defined as NGX_MAX_ERROR_STR.
Diffstat (limited to '')
| -rw-r--r-- | src/os/unix/ngx_files.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/os/unix/ngx_files.h b/src/os/unix/ngx_files.h index af41ea38e..7c7f1fcd3 100644 --- a/src/os/unix/ngx_files.h +++ b/src/os/unix/ngx_files.h @@ -128,6 +128,7 @@ ngx_write_fd(ngx_fd_t fd, void *buf, size_t n) #define ngx_linefeed(p) *p++ = LF; #define NGX_LINEFEED_SIZE 1 +#define NGX_LINEFEED "\x0a" #define ngx_rename_file(o, n) rename((const char *) o, (const char *) n) |
