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

[Windows] Provide meaningful error message for PATH_NOT_FOUND #216

Merged
merged 1 commit into from
Oct 20, 2020

Conversation

cmb69
Copy link
Contributor

@cmb69 cmb69 commented Oct 20, 2020

ENOENT means no such file or directory, which on Windows is either
FILE_NOT_FOUND or PATH_NOT_FOUND. I've noticed the meaningless
"Unknown error" while working on https://bugs.php.net/80261, where
the overlong path caused GetFileAttributesExW() to fail with
PATH_NOT_FOUND.

`ENOENT` means no such file or directory, which on Windows is either
`FILE_NOT_FOUND` or `PATH_NOT_FOUND`.  I've noticed the meaningless
"Unknown error" while working on <https://bugs.php.net/80261>, where
the overlong path caused `GetFileAttributesExW()` to fail with
`PATH_NOT_FOUND`.
@dillof dillof merged commit 71d7855 into nih-at:master Oct 20, 2020
@dillof
Copy link
Member

dillof commented Oct 20, 2020

Thanks, merged.

@cmb69 cmb69 deleted the cmb/path-not-found branch October 20, 2020 10:14
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.

2 participants