Mercurial > hg > nginx
comparison src/core/ngx_open_file_cache.c @ 5357:659464c695b7
Disable symlinks: removed recursive call of ngx_file_o_path_info().
It is surplus.
author | Valentin Bartenev <vbart@nginx.com> |
---|---|
date | Mon, 02 Sep 2013 20:06:03 +0400 |
parents | acd51b0f6fd4 |
children | 808fd1f0b94b |
comparison
equal
deleted
inserted
replaced
5356:acd51b0f6fd4 | 5357:659464c695b7 |
---|---|
594 ngx_log_error(NGX_LOG_NOTICE, log, 0, | 594 ngx_log_error(NGX_LOG_NOTICE, log, 0, |
595 "fstat(O_PATH) failed with EBADF, " | 595 "fstat(O_PATH) failed with EBADF, " |
596 "switching to fstatat(AT_EMPTY_PATH)"); | 596 "switching to fstatat(AT_EMPTY_PATH)"); |
597 | 597 |
598 use_fstat = 0; | 598 use_fstat = 0; |
599 return ngx_file_o_path_info(fd, fi, log); | |
600 } | 599 } |
601 | 600 |
602 if (ngx_file_at_info(fd, "", fi, AT_EMPTY_PATH) != NGX_FILE_ERROR) { | 601 if (ngx_file_at_info(fd, "", fi, AT_EMPTY_PATH) != NGX_FILE_ERROR) { |
603 return NGX_OK; | 602 return NGX_OK; |
604 } | 603 } |