Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSantiago Gimeno <santiago.gimeno@gmail.com>2022-04-27 02:55:52 +0300
committerGitHub <noreply@github.com>2022-04-27 02:55:52 +0300
commite91034c2eb3aadb62ebbf931e26d71f81bc4534e (patch)
treef522cd2b20a200e28f8c227817a3e71d84525cb4 /src
parent92f8c03ce620aee28a97f19603b91dad14637064 (diff)
fs: fix mkdirSync so ENOSPC is correctly reported
Fixes: https://github.com/nodejs/node/issues/42808 PR-URL: https://github.com/nodejs/node/pull/42811 Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Diffstat (limited to 'src')
-rw-r--r--src/node_file.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/node_file.cc b/src/node_file.cc
index 105ed4c4150..f4238e7d68c 100644
--- a/src/node_file.cc
+++ b/src/node_file.cc
@@ -1382,6 +1382,7 @@ int MKDirpSync(uv_loop_t* loop,
}
break;
case UV_EACCES:
+ case UV_ENOSPC:
case UV_ENOTDIR:
case UV_EPERM: {
return err;