From 07bb4ed971e859ca26937558f9dcfe2a2178f5aa Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Mon, 14 Nov 2011 14:59:00 +0000 Subject: 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. --- src/os/unix/ngx_files.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/os/unix/ngx_files.h') 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) -- cgit v1.2.3