deps: update to libuv v1.26.0

Notable changes since v1.23.2:

- v1.26.0
  - uv_os_uname()
  - unix: don't attempt to invalidate invalid fd
    1ce6393a57
- v1.25.0
  - unix: better handling of unsupported F_FULLFSYNC (fixes #6725)
    6fc797c3fe
  - tty,win: fix Alt+key under WSL
    d2e59bb600
  - fsevents: really watch files with fsevents on macos 10.7+
    2d2af382ce
  - win: fix duplicate tty vt100 fn key
- v1.24.0
  - win,fs: retry if uv_fs_rename fails
    e94c184c7c
    - later [reverted](https://github.com/libuv/libuv/issues/2098) but may be useful reference
  - win: support more fine-grained windows hiding
    4c2dcca27b
This commit is contained in:
Justin M. Keyes 2019-02-20 21:42:24 +01:00
parent 0e97d3d4ee
commit c59aa771a6
3 changed files with 3 additions and 10 deletions

View File

@ -169,7 +169,7 @@ void socket_watcher_close(SocketWatcher *watcher, socket_close_cb cb)
FUNC_ATTR_NONNULL_ARG(1)
{
watcher->close_cb = cb;
uv_close((uv_handle_t *)watcher->stream, close_cb);
uv_close(STRUCT_CAST(uv_handle_t, watcher->stream), close_cb);
}
static void connection_event(void **argv)

View File

@ -649,13 +649,6 @@ int os_fsync(int fd)
int r;
RUN_UV_FS_FUNC(r, uv_fs_fsync, fd, NULL);
g_stats.fsync++;
#ifdef __APPLE__
// TODO(justinmk): Remove this after it is fixed in libuv. #6725
if (r == UV_ENOTSUP) {
int rv = fsync(fd);
return rv ? -rv : rv;
}
#endif
return r;
}

View File

@ -123,8 +123,8 @@ if(WIN32)
set(LIBUV_URL https://github.com/neovim/libuv/archive/0ed7feb71ca949f7a96ccb102481d17ea1bb5933.tar.gz)
set(LIBUV_SHA256 813fe763022f19878557c6fde311b6394fb9180caaaab0dd98d8704732234508)
else()
set(LIBUV_URL https://github.com/libuv/libuv/archive/v1.23.2.tar.gz)
set(LIBUV_SHA256 30af979c4f4b8d1b895ae6d115f7400c751542ccb9e656350fc89fda08d4eabd)
set(LIBUV_URL https://github.com/libuv/libuv/archive/v1.26.0.tar.gz)
set(LIBUV_SHA256 e414cf74615b7dae768f0f5667092f1d4975f5067c087bcbe0641e241ebe4693)
endif()
set(MSGPACK_URL https://github.com/msgpack/msgpack-c/releases/download/cpp-3.0.0/msgpack-3.0.0.tar.gz)