comparison src/core/ngx_file.c @ 484:ed5e10fb40fc NGINX_0_7_54

nginx 0.7.54 *) Feature: the ngx_http_image_filter_module. *) Feature: the "proxy_ignore_headers" and "fastcgi_ignore_headers" directives. *) Bugfix: a segmentation fault might occur in worker process, if an "open_file_cache_errors off" directive was used; the bug had appeared in 0.7.53. *) Bugfix: the "port_in_redirect off" directive did not work; the bug had appeared in 0.7.39. *) Bugfix: improve handling of "select" method errors. *) Bugfix: of "select() failed (10022: ...)" error in nginx/Windows. *) Bugfix: in error text descriptions in nginx/Windows; the bug had appeared in 0.7.53.
author Igor Sysoev <http://sysoev.ru>
date Fri, 01 May 2009 00:00:00 +0400
parents 56baf312c1b5
children f39b9e29530d
comparison
equal deleted inserted replaced
483:0a2f4b42ddad 484:ed5e10fb40fc
487 487
488 #if !(NGX_WIN32) 488 #if !(NGX_WIN32)
489 { 489 {
490 ngx_file_info_t fi; 490 ngx_file_info_t fi;
491 491
492 if (ngx_file_info((const char *) path[i]->name.data, &fi) == -1) { 492 if (ngx_file_info((const char *) path[i]->name.data, &fi)
493 == NGX_FILE_ERROR)
494 {
493 ngx_log_error(NGX_LOG_EMERG, cycle->log, ngx_errno, 495 ngx_log_error(NGX_LOG_EMERG, cycle->log, ngx_errno,
494 ngx_file_info_n " \"%s\" failed", path[i]->name.data); 496 ngx_file_info_n " \"%s\" failed", path[i]->name.data);
495 return NGX_ERROR; 497 return NGX_ERROR;
496 } 498 }
497 499