deps: uvwasi: cherry-pick 7b5b6f9
Original commit message:
allow windows to detect tty types
uv_fs_fstat() fails on TTYs on Windows. This commit updates
uvwasi__get_filetype_by_fd() to detect this case and map
the fd to the WASI character device type.
Refs: https://github.com/nodejs/node/issues/31461
Fixes: https://github.com/nodejs/node/issues/31461
PR-URL: https://github.com/nodejs/node/pull/31495
Reviewed-By:
Richard Lau <riclau@uk.ibm.com>
Reviewed-By:
Anna Henningsen <anna@addaleax.net>
Reviewed-By:
David Carlier <devnexen@gmail.com>
Reviewed-By:
Jiawen Geng <technicalcute@gmail.com>
Reviewed-By:
Rich Trott <rtrott@gmail.com>
parent
07915db2
Please register or sign in to comment