comparison src/core/ngx_log.c @ 430:dac47e9ef0d5 NGINX_0_7_27

nginx 0.7.27 *) Feature: the "try_files" directive. *) Feature: variables support in the "fastcgi_pass" directive. *) Feature: now the $geo variable may get an address from a variable. Thanks to Andrei Nigmatulin. *) Feature: now a location's modifier may be used without space before name. *) Feature: the $upstream_response_length variable. *) Bugfix: now a "add_header" directive does not add an empty value. *) Bugfix: if zero length static file was requested, then nginx just closed connection; the bug had appeared in 0.7.25. *) Bugfix: a MOVE method could not move file in non-existent directory. *) Bugfix: a segmentation fault occurred in worker process, if no one named location was defined in server, but some one was used in an error_page directive. Thanks to Sergey Bochenkov.
author Igor Sysoev <http://sysoev.ru>
date Mon, 15 Dec 2008 00:00:00 +0300
parents ff86d646f9df
children ce4f9ff90bfa
comparison
equal deleted inserted replaced
429:3b8e9d1bc9bb 430:dac47e9ef0d5
125 *p++ = '.'; 125 *p++ = '.';
126 *p++ = '.'; 126 *p++ = '.';
127 } 127 }
128 128
129 #if (NGX_WIN32) 129 #if (NGX_WIN32)
130 130 p = ngx_snprintf(p, last - p, ((unsigned) err < 0x80000000)
131 if ((unsigned) err >= 0x80000000) { 131 ? " (%d: " : " (%Xd: ", err);
132 p = ngx_snprintf(p, last - p, " (%Xd: ", err);
133
134 } else {
135 p = ngx_snprintf(p, last - p, " (%d: ", err);
136 }
137
138 #else 132 #else
139
140 p = ngx_snprintf(p, last - p, " (%d: ", err); 133 p = ngx_snprintf(p, last - p, " (%d: ", err);
141
142 #endif 134 #endif
143 135
144 p = ngx_strerror_r(err, p, last - p); 136 p = ngx_strerror_r(err, p, last - p);
145 137
146 if (p < last) { 138 if (p < last) {