]> git.kaiwu.me - nginx.git/commit
Win32: ngx_open_dir() and ngx_close_dir() fixes.
authorMaxim Dounin <mdounin@mdounin.ru>
Sat, 5 Jul 2014 19:29:47 +0000 (23:29 +0400)
committerMaxim Dounin <mdounin@mdounin.ru>
Sat, 5 Jul 2014 19:29:47 +0000 (23:29 +0400)
commit11bbbc051bb8087c327179c0db9afde759926555
tree1e0940016bc21cb00a806de9f6aed0b4562f5eb5
parent31c1715ce6029d6138bd8082034110de0b3b6629
Win32: ngx_open_dir() and ngx_close_dir() fixes.

The ngx_open_dir() function changed to restore name passed to it.  This
fixes removing destination directory in dav module, as caught by dav.t.
The ngx_close_dir() function introduced to properly convert errors, as
FindClose() returns 0 on error.
src/os/win32/ngx_files.c
src/os/win32/ngx_files.h