comparison src/os/unix/ngx_time.c @ 18:6f8b0dc0f8dd NGINX_0_1_9

nginx 0.1.9 *) Bugfix: the proxied request was sent without arguments if the request contains "//", "/./", "/../" or "%XX". *) Bugfix: the large compressed responses may be transferred not completely. *) Bugfix: the files bigger than 2G was not transferred on Linux that does not support sendfile64(). *) Bugfix: while the build configuration on Linux the --with-poll_module parameter was required; bug appeared in 0.1.8.
author Igor Sysoev <http://sysoev.ru>
date Thu, 25 Nov 2004 00:00:00 +0300
parents f0b350454894
children b55cbf18157e
comparison
equal deleted inserted replaced
17:9acb68bb0698 18:6f8b0dc0f8dd
8 #include <ngx_core.h> 8 #include <ngx_core.h>
9 9
10 10
11 void ngx_localtime(ngx_tm_t *tm) 11 void ngx_localtime(ngx_tm_t *tm)
12 { 12 {
13 #if (HAVE_LOCALTIME_R) 13 #if (NGX_HAVE_LOCALTIME_R)
14 time_t now; 14 time_t now;
15 15
16 now = ngx_time(); 16 now = ngx_time();
17 localtime_r(&now, tm); 17 localtime_r(&now, tm);
18 18