comparison src/core/ngx_open_file_cache.c @ 440:6281966854a5 NGINX_0_7_32

nginx 0.7.32 *) Feature: now a directory existence testing can be set explicitly in the "try_files" directive. *) Bugfix: fastcgi_store stored files not always. *) Bugfix: in geo ranges. *) Bugfix: in shared memory allocations if nginx was built without debugging. Thanks to Andrey Kvasov.
author Igor Sysoev <http://sysoev.ru>
date Mon, 26 Jan 2009 00:00:00 +0300
parents a8e3f1441eec
children 6866b490272e
comparison
equal deleted inserted replaced
439:02687ee42c28 440:6281966854a5
455 455
456 if (ngx_file_info(name, &fi) == -1) { 456 if (ngx_file_info(name, &fi) == -1) {
457 goto failed; 457 goto failed;
458 } 458 }
459 459
460 if (of->is_dir) { 460 if (ngx_is_dir(&fi)) {
461 goto done; 461 goto done;
462 } 462 }
463 } 463 }
464 464
465 if (!of->log) { 465 if (!of->log) {