From e5024c54a1d015607698849d69882174203f8205 Mon Sep 17 00:00:00 2001 From: Bartosz Sosnowski Date: Wed, 26 Jul 2017 13:24:41 +0200 Subject: [PATCH] win, fs: support unusual reparse points MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Allow for running uv_fs_stat and uv_fs_lstat on all reparse points Ref: https://github.com/nodejs/node/issues/12737 PR-URL: https://github.com/libuv/libuv/pull/1419 Reviewed-By: Saúl Ibarra Corretgé --- src/win/fs.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/win/fs.c b/src/win/fs.c index 8223d6f6..d7723810 100644 --- a/src/win/fs.c +++ b/src/win/fs.c @@ -1118,8 +1118,6 @@ INLINE static int fs__stat_handle(HANDLE handle, uv_stat_t* statbuf) { */ if (fs__readlink_handle(handle, NULL, &statbuf->st_size) == 0) { statbuf->st_mode |= S_IFLNK; - } else if (GetLastError() != ERROR_NOT_A_REPARSE_POINT) { - return -1; } }