diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2008-12-10 14:53:45 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2008-12-10 14:53:45 +0000 |
| commit | 524f54f56dc506ae7fc2ef29794d399e13f69fb2 (patch) | |
| tree | 15264926a94c83f1221ed8c7cbe6cbfc2392c1d4 /src/os/win32/ngx_errno.h | |
| parent | 45656b4051cd1e9b3e112a819c16a447b10ad03b (diff) | |
| download | nginx-524f54f56dc506ae7fc2ef29794d399e13f69fb2.tar.gz nginx-524f54f56dc506ae7fc2ef29794d399e13f69fb2.tar.bz2 | |
use ngx_ext_rename_file() for single file MOVE
Diffstat (limited to 'src/os/win32/ngx_errno.h')
| -rw-r--r-- | src/os/win32/ngx_errno.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/os/win32/ngx_errno.h b/src/os/win32/ngx_errno.h index 52d04bc4d..58cbbf402 100644 --- a/src/os/win32/ngx_errno.h +++ b/src/os/win32/ngx_errno.h @@ -23,10 +23,13 @@ typedef DWORD ngx_err_t; #define NGX_ENOENT ERROR_FILE_NOT_FOUND #define NGX_ENOMEM ERROR_NOT_ENOUGH_MEMORY #define NGX_EACCES ERROR_ACCESS_DENIED -#if 0 -#define NGX_EEXIST ERROR_FILE_EXISTS -#endif +/* it's seems that ERROR_FILE_EXISTS is not appropriate error code */ #define NGX_EEXIST ERROR_ALREADY_EXISTS +/* + * could not found cross volume directory move error code, + * so use ERROR_WRONG_DISK as stub one + */ +#define NGX_EXDEV ERROR_WRONG_DISK #define NGX_ENOTDIR ERROR_PATH_NOT_FOUND #define NGX_EISDIR ERROR_CANNOT_MAKE #define NGX_ENOSPC ERROR_DISK_FULL |
