Skip to content

Commit a056ef1

Browse files
committed
Upgrade libuv to 01f64f6
1 parent 5b014e0 commit a056ef1

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

deps/uv/include/uv.h

-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ typedef intptr_t ssize_t;
111111
XX( 40, ETIMEDOUT, "connection timed out") \
112112
XX( 41, ECHARSET, "") \
113113
XX( 42, EAIFAMNOSUPPORT, "") \
114-
XX( 43, EAINONAME, "") \
115114
XX( 44, EAISERVICE, "") \
116115
XX( 45, EAISOCKTYPE, "") \
117116
XX( 46, ESHUTDOWN, "") \

deps/uv/src/win/fs.c

+4-4
Original file line numberDiff line numberDiff line change
@@ -503,15 +503,15 @@ void fs__stat(uv_fs_t* req, const wchar_t* path) {
503503
req->ptr = NULL;
504504
} else {
505505

506-
/*
506+
/*
507507
* VC CRT doesn't properly set S_IFDIR in _fstati64,
508508
* so we set it here if path is a directory.
509509
*/
510510
if (GetFileAttributesW(path) & FILE_ATTRIBUTE_DIRECTORY) {
511511
mode = req->stat.st_mode;
512512
mode &= ~_S_IFMT;
513513
mode |= _S_IFDIR;
514-
514+
515515
req->stat.st_mode = mode;
516516
assert((req->stat.st_mode & _S_IFMT) == _S_IFDIR);
517517
}
@@ -709,7 +709,7 @@ void fs__symlink(uv_fs_t* req, const wchar_t* path, const wchar_t* new_path,
709709
req->last_error = ERROR_SUCCESS;
710710
return;
711711
}
712-
712+
713713
SET_REQ_RESULT(req, result);
714714
}
715715

@@ -748,7 +748,7 @@ void fs__readlink(uv_fs_t* req, const wchar_t* path) {
748748
FSCTL_GET_REPARSE_POINT,
749749
NULL,
750750
0,
751-
buffer,
751+
buffer,
752752
MAXIMUM_REPARSE_DATA_BUFFER_SIZE,
753753
&bytes_returned,
754754
NULL);

deps/uv/src/win/getaddrinfo.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ static uv_err_code uv_translate_eai_error(int eai_errno) {
6666
case EAI_FAIL: return UV_EFAULT;
6767
case EAI_FAMILY: return UV_EAIFAMNOSUPPORT;
6868
case EAI_MEMORY: return UV_ENOMEM;
69-
case EAI_NONAME: return UV_EAINONAME;
69+
case EAI_NONAME: return UV_ENOENT;
7070
case EAI_AGAIN: return UV_EAGAIN;
7171
case EAI_SERVICE: return UV_EAISERVICE;
7272
case EAI_SOCKTYPE: return UV_EAISOCKTYPE;

0 commit comments

Comments
 (0)