1
0
mirror of https://github.com/libuv/libuv synced 2025-03-28 21:13:16 +00:00
Stefan Stojanovic c17bd99f1c
win: fix fstat for pipes and character files (#3811)
Calling uv_fs_fstat for file types other then disk type was resulting in
error on Windows while it was retrieving data on Linux. This change
enables getting fstat for pipes and character files on Windows with data
fetched being as reasonable as possible.

A simple test is also added to check this behavior on all platforms. It
uses stdin, stdout and stderr. uv_fs_fstat needs to pass with disk files
pipes and character files (eg. console).

Refs: https://github.com/nodejs/node/issues/40006
Co-authored-by: Jameson Nash <vtjnash@gmail.com>
2022-11-29 17:46:09 -05:00
..
2020-03-27 23:51:32 +01:00
2020-03-27 23:51:32 +01:00
2019-07-16 18:20:10 +02:00
2021-10-10 00:57:43 +02:00
2019-10-04 23:58:18 +02:00
2021-07-21 12:39:13 -04:00
2021-10-10 00:57:43 +02:00
2019-09-18 08:09:14 +02:00
2022-11-28 22:45:28 +01:00
2022-02-17 17:34:36 +01:00
2019-01-14 10:47:20 -05:00