]> git.kaiwu.me - nginx.git/commit
merge r3201, r3204, r3411:
authorIgor Sysoev <igor@sysoev.ru>
Mon, 1 Feb 2010 14:52:25 +0000 (14:52 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Mon, 1 Feb 2010 14:52:25 +0000 (14:52 +0000)
commitaf7e5336829540d80490fc4fa7153ce2efb95954
tree3e5e0dfc8e736f6f579ede80f284930ae681c6b1
parent30ee8008be32ec1b7229eff2bd0b2462146c480c
merge r3201, r3204, r3411:

ngx_http_autoindex_module fixes:

*) reset cached dirent.d_type after stat()
   this fixes slash after link to a directory in ngx_http_autoindex_module;
*) use cached dirent.d_type as hint on all systems

   the issues has been introduced in r2235

*) fix ngx_utf8_cpystrn(): it did not fully copy utf-8 string
src/core/ngx_string.c
src/http/modules/ngx_http_random_index_module.c
src/os/unix/ngx_files.c
src/os/unix/ngx_files.h
src/os/win32/ngx_files.c
src/os/win32/ngx_files.h