[nginx] Disable symlinks: removed recursive call of ngx_file_o_p...

Valentin Bartenev vbart at nginx.com
Mon Sep 2 16:54:09 UTC 2013


details:   http://hg.nginx.org/nginx/rev/659464c695b7
branches:  
changeset: 5357:659464c695b7
user:      Valentin Bartenev <vbart at nginx.com>
date:      Mon Sep 02 20:06:03 2013 +0400
description:
Disable symlinks: removed recursive call of ngx_file_o_path_info().

It is surplus.

diffstat:

 src/core/ngx_open_file_cache.c |  1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diffs (11 lines):

diff -r acd51b0f6fd4 -r 659464c695b7 src/core/ngx_open_file_cache.c
--- a/src/core/ngx_open_file_cache.c	Mon Sep 02 08:07:59 2013 +0400
+++ b/src/core/ngx_open_file_cache.c	Mon Sep 02 20:06:03 2013 +0400
@@ -596,7 +596,6 @@ ngx_file_o_path_info(ngx_fd_t fd, ngx_fi
                       "switching to fstatat(AT_EMPTY_PATH)");
 
         use_fstat = 0;
-        return ngx_file_o_path_info(fd, fi, log);
     }
 
     if (ngx_file_at_info(fd, "", fi, AT_EMPTY_PATH) != NGX_FILE_ERROR) {



More information about the nginx-devel mailing list