comparison src/core/ngx_file.c @ 496:f39b9e29530d NGINX_0_8_0

nginx 0.8.0 *) Feature: the "keepalive_requests" directive. *) Feature: the "limit_rate_after" directive. Thanks to Ivan Debnar. *) Bugfix: XLST filter did not work in subrequests. *) Bugfix: in relative paths handling in nginx/Windows. *) Bugfix: in proxy_store, fastcgi_store, proxy_cache, and fastcgi_cache in nginx/Windows. *) Bugfix: in memory allocation error handling. Thanks to Maxim Dounin and Kirill A. Korinskiy.
author Igor Sysoev <http://sysoev.ru>
date Tue, 02 Jun 2009 00:00:00 +0400
parents ed5e10fb40fc
children 43cc6f0b77ce
comparison
equal deleted inserted replaced
495:6d9fb4461113 496:f39b9e29530d
556 return NGX_OK; 556 return NGX_OK;
557 } 557 }
558 558
559 err = ngx_errno; 559 err = ngx_errno;
560 560
561 if (err == NGX_ENOENT) { 561 if (err
562 562 #if (NGX_WIN32)
563 == ERROR_PATH_NOT_FOUND
564 #else
565 == NGX_ENOENT
566 #endif
567 )
568 {
563 if (!ext->create_path) { 569 if (!ext->create_path) {
564 goto failed; 570 goto failed;
565 } 571 }
566 572
567 err = ngx_create_full_path(to->data, ngx_dir_access(ext->path_access)); 573 err = ngx_create_full_path(to->data, ngx_dir_access(ext->path_access));