]> git.kaiwu.me - nginx.git/commit
XFS on Linux does not set dirent.d_type,
authorIgor Sysoev <igor@sysoev.ru>
Fri, 6 Mar 2009 13:01:21 +0000 (13:01 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Fri, 6 Mar 2009 13:01:21 +0000 (13:01 +0000)
commit78c95de9dab2ec463c609bcca15f5aba8bb3e8e1
tree0c537befff09e31b4eb5ddefa13de3fe69f0bb22
parent7ac9f3605c3a4e687293fcec64a09f5233a82edf
XFS on Linux does not set dirent.d_type,
therefore fallback to stat() if dirent.d_type is not set,
this fixes slash after directory name in ngx_http_autoindex_module;
the issue has been introduced in r2235
src/os/unix/ngx_files.c
src/os/unix/ngx_files.h