summaryrefslogtreecommitdiffhomepage
path: root/src/os/win32/ngx_files.h (follow)
AgeCommit message (Collapse)AuthorFilesLines
2014-07-05Win32: ngx_open_dir() and ngx_close_dir() fixes.Maxim Dounin1-1/+1
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.
2013-09-23Added ngx_filename_cmp() with "/" sorted to the left.Maxim Dounin1-5/+0
This patch fixes incorrect handling of auto redirect in configurations like: location /0 { } location /a- { } location /a/ { proxy_pass ... } With previously used sorting, this resulted in the following locations tree (as "-" is less than "/"): "/a-" "/0" "/a/" and a request to "/a" didn't match "/a/" with auto_redirect, as it didn't traverse relevant tree node during lookup (it tested "/a-", then "/0", and then falled back to null location). To preserve locale use for non-ASCII characters on case-insensetive systems, libc's tolower() used.
2012-03-28Fixed win32 build after realpath changes in r4559.Maxim Dounin1-1/+1
2012-03-27Fixed unconditional MAX_PATH usage (ticket #22).Maxim Dounin1-0/+1
POSIX doesn't require it to be defined, and Debian GNU/Hurd doesn't define it. Note that if there is no MAX_PATH defined we have to use realpath() with NULL argument and free() the result.
2012-01-18Copyright updated.Maxim Konovalov1-0/+1
2011-11-14Introduction of simple ngx_write_stderr() instead of ngx_log_stderr()Igor Sysoev1-0/+1
for output of ./configure options, etc., since ngx_log_stderr() output length is limited by 2048 characters defined as NGX_MAX_ERROR_STR.
2011-07-24elimination of reading cache files by cache loaderIgor Sysoev1-0/+1
2011-04-22Use more precise stat.st_blocks to account cache size on UnixIgor Sysoev1-0/+1
instead of file length rounded to a file system block size. There is no similar way on Windows, so rounding to a cache->bsize is kept.
2010-06-29ngx_create_file_mapping()Igor Sysoev1-0/+15
2010-04-22use lstat() for WebDAV DELETE, COPY, and MOVE to handle symlinksIgor Sysoev1-0/+4
2010-04-21use non-blocking open() not to hang on FIFO files, etc.Igor Sysoev1-0/+1
2009-12-15fix Win32 error messages when an temporary file replaces an existent file:Igor Sysoev1-1/+1
*) do not rename an already renamed file *) now ngx_win32_rename_file() returns error code *) do not log failure inside ngx_win32_rename_file()
2009-10-14*) reset cached dirent.d_type after stat()Igor Sysoev1-1/+1
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
2009-09-30read_aheadIgor Sysoev1-0/+2
2009-07-14use caseless regex locations on caseless filesystems: MacOSX, Win32, CygwinIgor Sysoev1-0/+1
2009-04-28introduce ngx_write_console() to support OEM code pagesIgor Sysoev1-0/+3
2009-04-27-p and --prefix=Igor Sysoev1-2/+1
2009-04-23ngx_path_separator()Igor Sysoev1-0/+2
2009-04-23issue start up errors and warning on both stderr and error_logIgor Sysoev1-0/+5
2009-04-08delete win32 ngx_file_append_mode() as we use reliableIgor Sysoev1-4/+0
FILE_APPEND_DATA|SYNCHRONIZE flags
2009-04-08adopt NGX_FILE_TRUNCATE for win32Igor Sysoev1-0/+1
2009-03-30win32 ngx_open_file() supports utf8 names and NGX_FILE_APPENDIgor Sysoev1-9/+3
2009-03-30ngx_fs_bsize()Igor Sysoev1-0/+2
2009-03-23a prelimiary proxy cache supportIgor Sysoev1-0/+1
2009-01-21fix win32 ngx_is_dir(), etcIgor Sysoev1-4/+6
2008-09-27$realpath_rootIgor Sysoev1-0/+2
2008-09-12disable directio for unaligned reads in LinuxIgor Sysoev1-2/+5
2008-09-05*) autoconfigure struct dirent capabilitiesIgor Sysoev1-14/+30
*) move src/os/.../ngx_types.h's content into src/os/.../ngx_files.h and delete src/os/.../ngx_types.h
2008-09-05style fixIgor Sysoev1-9/+9
2008-08-04fix building by msvc8 introduced in r2127Igor Sysoev1-1/+1
2008-08-04fix building by bcc broken in r2130Igor Sysoev1-1/+1
2008-07-30directioIgor Sysoev1-1/+5
2008-07-29case insensitive file system location support provided by locale onlyIgor Sysoev1-0/+3
2008-04-29ignore glob no match errorIgor Sysoev1-1/+5
2007-12-07use malloc() in ngx_win32_rename_file, set crit level instead of errorIgor Sysoev1-2/+1
2007-11-11fix win32 ngx_read_fd() and ngx_write_fd()Igor Sysoev1-2/+4
2007-11-11fix win32 globIgor Sysoev1-0/+2
2007-08-30win32 ngx_is_exec() stubIgor Sysoev1-0/+1
2007-01-29use ngx_dir_access() to enable search bits for directoryIgor Sysoev1-0/+3
2007-01-18ngx_read_fd()Igor Sysoev1-0/+5
2007-01-18NGX_FILE_WRONLYIgor Sysoev1-0/+1
2007-01-18ngx_file_access() and ngx_de_access()Igor Sysoev1-0/+2
2007-01-18add commentIgor Sysoev1-0/+3
2007-01-18axe unused codeIgor Sysoev1-3/+0
2007-01-18ngx_open_file(name, access, create) > ngx_open_file(name, mode, create, access)Igor Sysoev1-2/+4
2007-01-18style fixIgor Sysoev1-18/+18
2007-01-18rename mode to accessIgor Sysoev1-1/+1
2006-10-02glob support in includeIgor Sysoev1-7/+21
2006-09-14backout O_NOATIME support, it requires CAP_FOWNER capabilityIgor Sysoev1-1/+0
2006-09-01Linux O_NOATIME supportIgor Sysoev1-0/+1