Browse Source

Upgrade libuv to 01f64f6

v0.7.4-release
Bert Belder 13 years ago
parent
commit
a056ef1f39
  1. 1
      deps/uv/include/uv.h
  2. 8
      deps/uv/src/win/fs.c
  3. 2
      deps/uv/src/win/getaddrinfo.c

1
deps/uv/include/uv.h

@ -111,7 +111,6 @@ typedef intptr_t ssize_t;
XX( 40, ETIMEDOUT, "connection timed out") \ XX( 40, ETIMEDOUT, "connection timed out") \
XX( 41, ECHARSET, "") \ XX( 41, ECHARSET, "") \
XX( 42, EAIFAMNOSUPPORT, "") \ XX( 42, EAIFAMNOSUPPORT, "") \
XX( 43, EAINONAME, "") \
XX( 44, EAISERVICE, "") \ XX( 44, EAISERVICE, "") \
XX( 45, EAISOCKTYPE, "") \ XX( 45, EAISOCKTYPE, "") \
XX( 46, ESHUTDOWN, "") \ XX( 46, ESHUTDOWN, "") \

8
deps/uv/src/win/fs.c

@ -503,7 +503,7 @@ void fs__stat(uv_fs_t* req, const wchar_t* path) {
req->ptr = NULL; req->ptr = NULL;
} else { } else {
/* /*
* VC CRT doesn't properly set S_IFDIR in _fstati64, * VC CRT doesn't properly set S_IFDIR in _fstati64,
* so we set it here if path is a directory. * so we set it here if path is a directory.
*/ */
@ -511,7 +511,7 @@ void fs__stat(uv_fs_t* req, const wchar_t* path) {
mode = req->stat.st_mode; mode = req->stat.st_mode;
mode &= ~_S_IFMT; mode &= ~_S_IFMT;
mode |= _S_IFDIR; mode |= _S_IFDIR;
req->stat.st_mode = mode; req->stat.st_mode = mode;
assert((req->stat.st_mode & _S_IFMT) == _S_IFDIR); assert((req->stat.st_mode & _S_IFMT) == _S_IFDIR);
} }
@ -709,7 +709,7 @@ void fs__symlink(uv_fs_t* req, const wchar_t* path, const wchar_t* new_path,
req->last_error = ERROR_SUCCESS; req->last_error = ERROR_SUCCESS;
return; return;
} }
SET_REQ_RESULT(req, result); SET_REQ_RESULT(req, result);
} }
@ -748,7 +748,7 @@ void fs__readlink(uv_fs_t* req, const wchar_t* path) {
FSCTL_GET_REPARSE_POINT, FSCTL_GET_REPARSE_POINT,
NULL, NULL,
0, 0,
buffer, buffer,
MAXIMUM_REPARSE_DATA_BUFFER_SIZE, MAXIMUM_REPARSE_DATA_BUFFER_SIZE,
&bytes_returned, &bytes_returned,
NULL); NULL);

2
deps/uv/src/win/getaddrinfo.c

@ -66,7 +66,7 @@ static uv_err_code uv_translate_eai_error(int eai_errno) {
case EAI_FAIL: return UV_EFAULT; case EAI_FAIL: return UV_EFAULT;
case EAI_FAMILY: return UV_EAIFAMNOSUPPORT; case EAI_FAMILY: return UV_EAIFAMNOSUPPORT;
case EAI_MEMORY: return UV_ENOMEM; case EAI_MEMORY: return UV_ENOMEM;
case EAI_NONAME: return UV_EAINONAME; case EAI_NONAME: return UV_ENOENT;
case EAI_AGAIN: return UV_EAGAIN; case EAI_AGAIN: return UV_EAGAIN;
case EAI_SERVICE: return UV_EAISERVICE; case EAI_SERVICE: return UV_EAISERVICE;
case EAI_SOCKTYPE: return UV_EAISOCKTYPE; case EAI_SOCKTYPE: return UV_EAISOCKTYPE;

Loading…
Cancel
Save