diff options
author | cjihrig <cjihrig@gmail.com> | 2019-08-09 11:03:55 -0400 |
---|---|---|
committer | cjihrig <cjihrig@gmail.com> | 2019-08-11 11:22:01 -0400 |
commit | ce7f3ed13ca15ae4c166d922e7ee39ad2ef41abb (patch) | |
tree | f25ca8d612ee2bdfb78f2bac31439633dfb2bb3d /deps/uv/src/unix/openbsd.c | |
parent | 8ef68e66d0465441a79a5dae22e480bf0d83ed25 (diff) | |
download | android-node-v8-ce7f3ed13ca15ae4c166d922e7ee39ad2ef41abb.tar.gz android-node-v8-ce7f3ed13ca15ae4c166d922e7ee39ad2ef41abb.tar.bz2 android-node-v8-ce7f3ed13ca15ae4c166d922e7ee39ad2ef41abb.zip |
deps: upgrade to libuv 1.31.0
Notable changes:
- UV_FS_O_FILEMAP has been added for faster access to memory
mapped files on Windows.
- uv_fs_mkdir() now returns UV_EINVAL for invalid filenames
on Windows. It previously returned UV_ENOENT.
- The uv_fs_statfs() API has been added.
- The uv_os_environ() and uv_os_free_environ() APIs have
been added.
Fixes: https://github.com/nodejs/node/issues/28599
Fixes: https://github.com/nodejs/node/issues/28945
Fixes: https://github.com/nodejs/node/issues/29008
PR-URL: https://github.com/nodejs/node/pull/29070
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Diffstat (limited to 'deps/uv/src/unix/openbsd.c')
-rw-r--r-- | deps/uv/src/unix/openbsd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/uv/src/unix/openbsd.c b/deps/uv/src/unix/openbsd.c index ffae7683d8..b5cdc80c3e 100644 --- a/deps/uv/src/unix/openbsd.c +++ b/deps/uv/src/unix/openbsd.c @@ -193,7 +193,7 @@ int uv_cpu_info(uv_cpu_info_t** cpu_infos, int* count) { if (sysctl(which, 2, &model, &size, NULL, 0)) return UV__ERR(errno); - which[1] = HW_NCPU; + which[1] = HW_NCPUONLINE; size = sizeof(numcpus); if (sysctl(which, 2, &numcpus, &size, NULL, 0)) return UV__ERR(errno); |