Mercurial > hg > nginx-quic
comparison src/os/unix/ngx_files.h @ 4360:7447784028a7 stable-1.0
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.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Wed, 14 Dec 2011 15:23:23 +0000 |
parents | 30519bb5621d |
children | d620f497c50f |
comparison
equal
deleted
inserted
replaced
4359:a1bb976ec16a | 4360:7447784028a7 |
---|---|
126 #define ngx_write_console ngx_write_fd | 126 #define ngx_write_console ngx_write_fd |
127 | 127 |
128 | 128 |
129 #define ngx_linefeed(p) *p++ = LF; | 129 #define ngx_linefeed(p) *p++ = LF; |
130 #define NGX_LINEFEED_SIZE 1 | 130 #define NGX_LINEFEED_SIZE 1 |
131 #define NGX_LINEFEED "\x0a" | |
131 | 132 |
132 | 133 |
133 #define ngx_rename_file(o, n) rename((const char *) o, (const char *) n) | 134 #define ngx_rename_file(o, n) rename((const char *) o, (const char *) n) |
134 #define ngx_rename_file_n "rename()" | 135 #define ngx_rename_file_n "rename()" |
135 | 136 |