Permalink
Browse files

uv: upgrade to 4a88b3b

  • Loading branch information...
1 parent 37bdd36 commit 3ea2a618adb0f8654b07a62bccf2a3473ec4b22d @piscisaureus piscisaureus committed Jun 28, 2012
Showing with 169 additions and 147 deletions.
  1. +1 −1 deps/uv/src/unix/dl.c
  2. +2 −0 deps/uv/src/win/error.c
  3. +166 −146 deps/uv/src/win/fs.c
@@ -34,7 +34,7 @@ int uv_dlopen(const char* filename, uv_lib_t* lib) {
dlerror(); /* Reset error status. */
lib->errmsg = NULL;
lib->handle = dlopen(filename, RTLD_LAZY);
- return uv__dlerror(lib);
+ return lib->handle ? 0 : uv__dlerror(lib);
}
@@ -83,6 +83,7 @@ uv_err_code uv_translate_sys_error(int sys_errno) {
case ERROR_SIGNAL_REFUSED: return UV_EIO;
case ERROR_FILE_NOT_FOUND: return UV_ENOENT;
case ERROR_INVALID_NAME: return UV_ENOENT;
+ case ERROR_INVALID_REPARSE_DATA: return UV_ENOENT;
case ERROR_MOD_NOT_FOUND: return UV_ENOENT;
case ERROR_PATH_NOT_FOUND: return UV_ENOENT;
case ERROR_ACCESS_DENIED: return UV_EPERM;
@@ -111,6 +112,7 @@ uv_err_code uv_translate_sys_error(int sys_errno) {
case ERROR_OPERATION_ABORTED: return UV_EINTR;
case WSAEINTR: return UV_EINTR;
case ERROR_INVALID_DATA: return UV_EINVAL;
+ case ERROR_SYMLINK_NOT_SUPPORTED: return UV_EINVAL;
case WSAEINVAL: return UV_EINVAL;
case ERROR_CANT_RESOLVE_FILENAME: return UV_ELOOP;
case ERROR_TOO_MANY_OPEN_FILES: return UV_EMFILE;
Oops, something went wrong. Retry.

0 comments on commit 3ea2a61

Please sign in to comment.