GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

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
Filter options
  • deps/uvwasi
    • include
      • uvwasi.h
    • src
      • uvwasi.c
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎deps/uvwasi/include/uvwasi.h‎

Copy file name to clipboardExpand all lines: deps/uvwasi/include/uvwasi.h
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ extern "C" {
1010

1111
#define UVWASI_VERSION_MAJOR 0
1212
#define UVWASI_VERSION_MINOR 0
13-
#define UVWASI_VERSION_PATCH 16
13+
#define UVWASI_VERSION_PATCH 17
1414
#define UVWASI_VERSION_HEX ((UVWASI_VERSION_MAJOR << 16) | \
1515
(UVWASI_VERSION_MINOR << 8) | \
1616
(UVWASI_VERSION_PATCH))
Collapse file

‎deps/uvwasi/src/uvwasi.c‎

Copy file name to clipboardExpand all lines: deps/uvwasi/src/uvwasi.c
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1122,7 +1122,7 @@ uvwasi_errno_t uvwasi_fd_prestat_get(uvwasi_t* uvwasi,
11221122
}
11231123

11241124
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);
11261126
err = UVWASI_ESUCCESS;
11271127
exit:
11281128
uv_mutex_unlock(&wrap->mutex);
@@ -1156,7 +1156,7 @@ uvwasi_errno_t uvwasi_fd_prestat_dir_name(uvwasi_t* uvwasi,
11561156
goto exit;
11571157
}
11581158

1159-
size = strlen(wrap->path) + 1;
1159+
size = strlen(wrap->path);
11601160
if (size > (size_t) path_len) {
11611161
err = UVWASI_ENOBUFS;
11621162
goto exit;

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.