From 8090d29dc468936d8e1de48b173e947dc9c08e1a Mon Sep 17 00:00:00 2001 From: "Node.js GitHub Bot" Date: Fri, 19 May 2023 02:23:23 +0000 Subject: [PATCH] deps: update uvwasi to 0.0.18 PR-URL: https://github.com/nodejs/node/pull/47866 Reviewed-By: Michael Dawson Reviewed-By: Rich Trott Reviewed-By: Luigi Pinca Reviewed-By: Mestery Reviewed-By: Santiago Gimeno Reviewed-By: Colin Ihrig --- deps/uvwasi/include/uvwasi.h | 2 +- deps/uvwasi/src/uv_mapping.c | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/deps/uvwasi/include/uvwasi.h b/deps/uvwasi/include/uvwasi.h index aee6b4de191962..d475d3e67512bf 100644 --- a/deps/uvwasi/include/uvwasi.h +++ b/deps/uvwasi/include/uvwasi.h @@ -10,7 +10,7 @@ extern "C" { #define UVWASI_VERSION_MAJOR 0 #define UVWASI_VERSION_MINOR 0 -#define UVWASI_VERSION_PATCH 17 +#define UVWASI_VERSION_PATCH 18 #define UVWASI_VERSION_HEX ((UVWASI_VERSION_MAJOR << 16) | \ (UVWASI_VERSION_MINOR << 8) | \ (UVWASI_VERSION_PATCH)) diff --git a/deps/uvwasi/src/uv_mapping.c b/deps/uvwasi/src/uv_mapping.c index 75405c163b6130..41e684d5dcf2f4 100644 --- a/deps/uvwasi/src/uv_mapping.c +++ b/deps/uvwasi/src/uv_mapping.c @@ -24,6 +24,10 @@ # define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) #endif +#if !defined(S_ISFIFO) && defined(S_IFMT) && defined(S_IFIFO) +# define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) +#endif + uvwasi_errno_t uvwasi__translate_uv_error(int err) { switch (err) {