mirror of
https://github.com/neovim/neovim.git
synced 2025-12-12 17:42:37 +00:00
Update to the newest libuv version
This commit is contained in:
@@ -31,12 +31,12 @@ int mch_chdir(char *path) {
|
|||||||
* Get name of current directory into buffer 'buf' of length 'len' bytes.
|
* Get name of current directory into buffer 'buf' of length 'len' bytes.
|
||||||
* Return OK for success, FAIL for failure.
|
* Return OK for success, FAIL for failure.
|
||||||
*/
|
*/
|
||||||
int mch_dirname(char_u *buf, int len)
|
int mch_dirname(char_u *buf, size_t len)
|
||||||
{
|
{
|
||||||
assert(buf && len);
|
assert(buf && len);
|
||||||
|
|
||||||
int errno;
|
int errno;
|
||||||
if ((errno = uv_cwd((char *)buf, len)) != 0) {
|
if ((errno = uv_cwd((char *)buf, &len)) != 0) {
|
||||||
vim_strncpy(buf, (char_u *)uv_strerror(errno), len - 1);
|
vim_strncpy(buf, (char_u *)uv_strerror(errno), len - 1);
|
||||||
return FAIL;
|
return FAIL;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
long_u mch_total_mem(int special);
|
long_u mch_total_mem(int special);
|
||||||
int mch_chdir(char *path);
|
int mch_chdir(char *path);
|
||||||
int mch_dirname(char_u *buf, int len);
|
int mch_dirname(char_u *buf, size_t len);
|
||||||
int mch_get_absolute_path(char_u *fname, char_u *buf, int len, int force);
|
int mch_get_absolute_path(char_u *fname, char_u *buf, int len, int force);
|
||||||
int mch_is_absolute_path(const char_u *fname);
|
int mch_is_absolute_path(const char_u *fname);
|
||||||
int mch_isdir(const char_u *name);
|
int mch_isdir(const char_u *name);
|
||||||
|
|||||||
4
third-party/CMakeLists.txt
vendored
4
third-party/CMakeLists.txt
vendored
@@ -42,8 +42,8 @@ endif()
|
|||||||
|
|
||||||
include(ExternalProject)
|
include(ExternalProject)
|
||||||
|
|
||||||
set(LIBUV_URL https://github.com/joyent/libuv/archive/v0.11.21.tar.gz)
|
set(LIBUV_URL https://github.com/joyent/libuv/archive/v0.11.22.tar.gz)
|
||||||
set(LIBUV_MD5 bc334c8da8618754ce9e2a4c5be73487)
|
set(LIBUV_MD5 d0cb0fea847afa35333ccbda56ed16d4)
|
||||||
|
|
||||||
set(LUAJIT_URL http://luajit.org/download/LuaJIT-2.0.2.tar.gz)
|
set(LUAJIT_URL http://luajit.org/download/LuaJIT-2.0.2.tar.gz)
|
||||||
set(LUAJIT_MD5 112dfb82548b03377fbefbba2e0e3a5b)
|
set(LUAJIT_MD5 112dfb82548b03377fbefbba2e0e3a5b)
|
||||||
|
|||||||
Reference in New Issue
Block a user