mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
deps: update uvwasi to 0.0.17
PR-URL: https://github.com/nodejs/node/pull/47866 Reviewed-By: Michael Dawson <midawson@redhat.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Mestery <mestery@protonmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
1 parent
1e3e7c9f33
commit
443477e041
2 files changed
+3
-3
No files matched your search
Vendored
+1
-1
@@ -10,7 +10,7 @@ extern "C" {
|
||||
|
||||
#define UVWASI_VERSION_MAJOR 0
|
||||
#define UVWASI_VERSION_MINOR 0
|
||||
#define UVWASI_VERSION_PATCH 16
|
||||
#define UVWASI_VERSION_PATCH 17
|
||||
#define UVWASI_VERSION_HEX ((UVWASI_VERSION_MAJOR << 16) | \
|
||||
(UVWASI_VERSION_MINOR << 8) | \
|
||||
(UVWASI_VERSION_PATCH))
|
||||
|
||||
Vendored
+2
-2
@@ -1122,7 +1122,7 @@ uvwasi_errno_t uvwasi_fd_prestat_get(uvwasi_t* uvwasi,
|
||||
}
|
||||
|
||||
buf->pr_type = UVWASI_PREOPENTYPE_DIR;
|
||||
buf->u.dir.pr_name_len = strlen(wrap->path) + 1;
|
||||
buf->u.dir.pr_name_len = strlen(wrap->path);
|
||||
err = UVWASI_ESUCCESS;
|
||||
exit:
|
||||
uv_mutex_unlock(&wrap->mutex);
|
||||
@@ -1156,7 +1156,7 @@ uvwasi_errno_t uvwasi_fd_prestat_dir_name(uvwasi_t* uvwasi,
|
||||
goto exit;
|
||||
}
|
||||
|
||||
size = strlen(wrap->path) + 1;
|
||||
size = strlen(wrap->path);
|
||||
if (size > (size_t) path_len) {
|
||||
err = UVWASI_ENOBUFS;
|
||||
goto exit;
|
||||
|
||||
Reference in new issue
Block a user