GeezerVison is showing github.com — deps: update uvwasi to 0.0.17 · nodejs/node@443477e
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: deps/uvwasi/include/uvwasi.h +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -10,7 +10,7 @@ extern "C" { |
10 | 10 |
|
11 | 11 | #define UVWASI_VERSION_MAJOR 0 |
12 | 12 | #define UVWASI_VERSION_MINOR 0 |
13 | | -#define UVWASI_VERSION_PATCH 16 |
| 13 | +#define UVWASI_VERSION_PATCH 17 |
14 | 14 | #define UVWASI_VERSION_HEX ((UVWASI_VERSION_MAJOR << 16) | \ |
15 | 15 | (UVWASI_VERSION_MINOR << 8) | \ |
16 | 16 | (UVWASI_VERSION_PATCH)) |
|
Collapse file
Copy file name to clipboardExpand all lines: deps/uvwasi/src/uvwasi.c +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -1122,7 +1122,7 @@ uvwasi_errno_t uvwasi_fd_prestat_get(uvwasi_t* uvwasi, |
1122 | 1122 | } |
1123 | 1123 |
|
1124 | 1124 | buf->pr_type = UVWASI_PREOPENTYPE_DIR; |
1125 | | - buf->u.dir.pr_name_len = strlen(wrap->path) + 1; |
| 1125 | + buf->u.dir.pr_name_len = strlen(wrap->path); |
1126 | 1126 | err = UVWASI_ESUCCESS; |
1127 | 1127 | exit: |
1128 | 1128 | uv_mutex_unlock(&wrap->mutex); |
@@ -1156,7 +1156,7 @@ uvwasi_errno_t uvwasi_fd_prestat_dir_name(uvwasi_t* uvwasi, |
1156 | 1156 | goto exit; |
1157 | 1157 | } |
1158 | 1158 |
|
1159 | | - size = strlen(wrap->path) + 1; |
| 1159 | + size = strlen(wrap->path); |
1160 | 1160 | if (size > (size_t) path_len) { |
1161 | 1161 | err = UVWASI_ENOBUFS; |
1162 | 1162 | goto exit; |
|