Skip to content

Commit 3ea2a61

Browse files
committed
uv: upgrade to 4a88b3b
1 parent 37bdd36 commit 3ea2a61

File tree

3 files changed

+169
-147
lines changed

3 files changed

+169
-147
lines changed

deps/uv/src/unix/dl.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ int uv_dlopen(const char* filename, uv_lib_t* lib) {
3434
dlerror(); /* Reset error status. */
3535
lib->errmsg = NULL;
3636
lib->handle = dlopen(filename, RTLD_LAZY);
37-
return uv__dlerror(lib);
37+
return lib->handle ? 0 : uv__dlerror(lib);
3838
}
3939

4040

deps/uv/src/win/error.c

+2
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ uv_err_code uv_translate_sys_error(int sys_errno) {
8383
case ERROR_SIGNAL_REFUSED: return UV_EIO;
8484
case ERROR_FILE_NOT_FOUND: return UV_ENOENT;
8585
case ERROR_INVALID_NAME: return UV_ENOENT;
86+
case ERROR_INVALID_REPARSE_DATA: return UV_ENOENT;
8687
case ERROR_MOD_NOT_FOUND: return UV_ENOENT;
8788
case ERROR_PATH_NOT_FOUND: return UV_ENOENT;
8889
case ERROR_ACCESS_DENIED: return UV_EPERM;
@@ -111,6 +112,7 @@ uv_err_code uv_translate_sys_error(int sys_errno) {
111112
case ERROR_OPERATION_ABORTED: return UV_EINTR;
112113
case WSAEINTR: return UV_EINTR;
113114
case ERROR_INVALID_DATA: return UV_EINVAL;
115+
case ERROR_SYMLINK_NOT_SUPPORTED: return UV_EINVAL;
114116
case WSAEINVAL: return UV_EINVAL;
115117
case ERROR_CANT_RESOLVE_FILENAME: return UV_ELOOP;
116118
case ERROR_TOO_MANY_OPEN_FILES: return UV_EMFILE;

0 commit comments

Comments
 (0)