Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

win, fs: fix uv_fs_unlink for +R -A files #1774

Closed
wants to merge 2 commits into from

Conversation

bzoz
Copy link
Member

@bzoz bzoz commented Mar 16, 2018

uv_fs_unlink would fail for read-only files with Archive attribute cleared. This fixes this issue.

uv_fs_unlink would fail for read-only files with Archive attribute
cleared. This fixes this issue.
@bzoz
Copy link
Member Author

bzoz commented Mar 16, 2018

Copy link
Member

@santigimeno santigimeno left a comment

Choose a reason for hiding this comment

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

LGTM

test/test-list.h Outdated
@@ -284,6 +284,9 @@ TEST_DECLARE (fs_access)
TEST_DECLARE (fs_chmod)
TEST_DECLARE (fs_copyfile)
TEST_DECLARE (fs_unlink_readonly)
#ifndef _WIN32
Copy link
Member

Choose a reason for hiding this comment

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

s/#ifndef/#ifdef here and in the TEST_ENTRY definition

@bzoz
Copy link
Member Author

bzoz commented Mar 19, 2018

@bzoz
Copy link
Member Author

bzoz commented Mar 21, 2018

Failures are unrelated.

bzoz added a commit that referenced this pull request Mar 21, 2018
uv_fs_unlink would fail for read-only files with Archive attribute
cleared. This fixes this issue.

PR-URL: #1774
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
@bzoz
Copy link
Member Author

bzoz commented Mar 21, 2018

Landed in edf05b9

@bzoz bzoz closed this Mar 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants