-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
third-party: update libuv to v1.32.0 #10978
Conversation
Build fails on OpenBSD (should be reported). |
Failed installing luajit?
|
I think this is the effect of libuv/libuv#2324. I think we need to add |
That's likely another issue (but apparently not fatal - filed in LuaJIT/LuaJIT#515). |
Re Windows test failures: fixed a test, most others are related to shada. Would be good if somebody having Windows locally could pick it up from here. |
Sounds like #10978 (comment) right? Could we just do |
I tried the following changes and passed the test in my environment. diff --git a/test/functional/preload.lua b/test/functional/preload.lua
index 1107b45d5..ff61c8ada 100644
--- a/test/functional/preload.lua
+++ b/test/functional/preload.lua
@@ -2,3 +2,12 @@
-- Busted started doing this to help provide more isolation. See issue #62
-- for more information about this.
local helpers = require('test.functional.helpers')(nil)
+local iswin = helpers.iswin
+if iswin() then
+ local ffi = require('ffi')
+ ffi.cdef[[
+ typedef int errno_t;
+ errno_t _set_fmode(int mode);
+ ]]
+ ffi.C._set_fmode(0x8000)
+end |
By the way, libuv |
There are conflicts with our nvim branch when trying to merge the tag:
```diff
diff --cc src/win/tty.c
index 63816759,8f84bcd0..00000000
--- i/src/win/tty.c
+++ w/src/win/tty.c
@@@ -135,10 -117,11 +135,12 @@@ static int uv_tty_virtual_width = -1
* handle signalling SIGWINCH
*/
-static HANDLE uv__tty_console_handle = INVALID_HANDLE_VALUE;
} @@@ -817,186 -733,14 +822,200 @@@ void uv_process_tty_read_raw_req(uv_loo ++<<<<<<< HEAD
++||||||| merged common ancestors
++>>>>>>> v1.32.0 @@@ -3054,31 -2368,19 +3096,43 @@@ static void uv__tty_console_signal_resi
++>>>>>>> v1.32.0
++>>>>>>> v1.32.0
|
I created neovim/libuv#10. |
Failures on Windows:
|
This is coming/e via SIGWINCH. |
SIGWINCH related failures on Windows are not flaky. Likely related to libuv/libuv@7d950c0d not being merged properly (https://github.com/neovim/libuv/pull/10/files#r323690684). Also 'exists() handles empty env variable' fails (behaves like Unix now): https://github.com/blueyed/neovim/blob/a2899d88516a2fea50d2a9f33d08179749749307/test/functional/eval/environ_spec.lua#L14-L18 |
Sure. Can always change it later.
Sounds good. |
There seems to be a misunderstanding as far as the comment is seen. When I haven't tried it, but it should work in |
@erw7 I am not sure though if you agree that the change to |
LGTM. |
cac65e3
to
70827ea
Compare
Fix an issue where WINDOWS_BUFFER_SIZE_EVENT occurs and unexpected SIGWINCH is received before calling uv__tty_console_resize_message_loop_thread. Refs: neovim/neovim#10978 (comment) PR-URL: #2478 Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com> Reviewed-By: Saúl Ibarra Corretgé <s@saghul.net>
Fix an issue where WINDOWS_BUFFER_SIZE_EVENT occurs and unexpected SIGWINCH is received before calling uv__tty_console_resize_message_loop_thread. Refs: neovim/neovim#10978 (comment) PR-URL: libuv#2478 Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com> Reviewed-By: Saúl Ibarra Corretgé <s@saghul.net> (cherry picked from commit 5013042)
Fix an issue where WINDOWS_BUFFER_SIZE_EVENT occurs and unexpected SIGWINCH is received before calling uv__tty_console_resize_message_loop_thread. Refs: neovim/neovim#10978 (comment) PR-URL: libuv#2478 Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com> Reviewed-By: Saúl Ibarra Corretgé <s@saghul.net> (cherry picked from commit 5013042)
Waiting for new release for OpenBSD build failure: libuv/libuv#2458
TODO: