Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

win,fs: handle AppExecLink reparse points in fstat#4936

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
11soda11 wants to merge1 commit intolibuv:v1.x
base:v1.x
Choose a base branch
Loading
from11soda11:win-stat-appexeclinks

Conversation

@11soda11
Copy link

Currently, libuv throws EACCES when trying to fstat AppExecLink reparse points, because Win32's CreateFileW can't resolve them on its own.

Usefs__readlink_handle as a fallback for reparse points that CreateFileW can't handle.

Fixes this nodejs issue:nodejs/node#36790

This was already attempted (#4663) but the author of that pr stopped working on it.
I believe this is what was intended in#4663 (review) and#4663 (review) but correct me if im wrong.

@11soda1111soda11 marked this pull request as ready for reviewNovember 19, 2025 14:16
Copy link
Member

@vtjnashvtjnash left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I didn't thoroughly review, but everything looks correct at a high level

11soda11 reacted with thumbs up emoji
@11soda1111soda11force-pushed thewin-stat-appexeclinks branch 2 times, most recently fromf84b185 to6c7af79CompareNovember 20, 2025 17:34
@11soda11
Copy link
Author

There are still fixes to be made, will add soon

Currently, libuv throws EACCES when trying to fstat AppExecLinkreparse points, because Win32's CreateFileW can't resolve them onits own.Use `fs__readlink_handle` as a fallback for reparse pointsthat CreateFileW can't handle. Also change it to accepta preallocated buffer.
@11soda11
Copy link
Author

11soda11 commentedNov 22, 2025
edited
Loading

Should be fine now, I changed readlink to accept a preallocated buffer (to reduce unnecessary allocations), but i can put that in another pr if that is preferred.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@vtjnashvtjnashAwaiting requested review from vtjnash

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@11soda11@vtjnash

[8]ページ先頭

©2009-2025 Movatter.jp