Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: nginx-0.3.56
IS> Изменения в nginx 0.3.56 04.08.2006
IS> *) Добавление: директива if поддерживает операторы "-d", "!-d", "-e",
IS> "!-e", "-x" и "!-x".
Как мне кажеться, в обработке директивы !-e -- ошибка.
Файл src/http/ngx_http_script.c
void
ngx_http_script_file_code(ngx_http_script_engine_t *e)
примерно в строке ~970 пропущен
case ngx_http_script_file_not_exists:
--
Best regards,
Andrian mailto:andu@xxxxxxxxxxxxx diff -Naur nginx-0.3.56/src/http/ngx_http_script.c
nginx-0.3.56.1/src/http/ngx_http_script.c
--- nginx-0.3.56/src/http/ngx_http_script.c 2006-08-01 15:34:40.000000000
+0300
+++ nginx-0.3.56.1/src/http/ngx_http_script.c 2006-08-05 03:06:03.000000000
+0300
@@ -967,6 +967,7 @@
goto false;
case ngx_http_script_file_not_plain:
case ngx_http_script_file_not_dir:
+ case ngx_http_script_file_not_exists:
case ngx_http_script_file_not_exec:
goto true;
}
|