comparison src/core/ngx_string.c @ 640:eb208e0cf44d NGINX_1_1_4

nginx 1.1.4 *) Feature: the ngx_http_upstream_keepalive module. *) Feature: the "proxy_http_version" directive. *) Feature: the "fastcgi_keep_conn" directive. *) Feature: the "worker_aio_requests" directive. *) Bugfix: if nginx was built --with-file-aio it could not be run on Linux kernel which did not support AIO. *) Bugfix: in Linux AIO error processing. Thanks to Hagai Avrahami. *) Bugfix: reduced memory consumption for long-lived requests. *) Bugfix: the module ngx_http_mp4_module did not support 64-bit MP4 "co64" atom.
author Igor Sysoev <http://sysoev.ru>
date Tue, 20 Sep 2011 00:00:00 +0400
parents 6c96fdd2dfc3
children 6f21ae02fb01
comparison
equal deleted inserted replaced
639:b516b4e38bc9 640:eb208e0cf44d
379 scale *= 10.0; 379 scale *= 10.0;
380 } 380 }
381 381
382 /* 382 /*
383 * (int64_t) cast is required for msvc6: 383 * (int64_t) cast is required for msvc6:
384 * it can not convert uint64_t to double 384 * it cannot convert uint64_t to double
385 */ 385 */
386 ui64 = (uint64_t) ((f - (int64_t) ui64) * scale + 0.5); 386 ui64 = (uint64_t) ((f - (int64_t) ui64) * scale + 0.5);
387 387
388 buf = ngx_sprintf_num(buf, last, ui64, '0', 0, frac_width); 388 buf = ngx_sprintf_num(buf, last, ui64, '0', 0, frac_width);
389 } 389 }