Mercurial > hg > nginx-ranges
diff src/http/modules/ngx_http_index_module.c @ 234:c16038b14e68 NGINX_0_4_2
nginx 0.4.2
*) Bugfix: the O_NOATIME flag support on Linux was canceled; bug
appeared in 0.4.1.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Thu, 14 Sep 2006 00:00:00 +0400 |
parents | d8f5c91a5c07 |
children | acd2ec3541cb |
line wrap: on
line diff
--- a/src/http/modules/ngx_http_index_module.c +++ b/src/http/modules/ngx_http_index_module.c @@ -239,8 +239,7 @@ ngx_http_index_handler(ngx_http_request_ return NGX_HTTP_INTERNAL_SERVER_ERROR; } - fd = ngx_open_file(ctx->path.data, NGX_FILE_RDONLY|NGX_FILE_NOATIME, - NGX_FILE_OPEN); + fd = ngx_open_file(ctx->path.data, NGX_FILE_RDONLY, NGX_FILE_OPEN); if (fd == (ngx_fd_t) NGX_AGAIN) { ctx->current = i;