-
Notifications
You must be signed in to change notification settings - Fork 411
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
Stat error on symbolic link during scanning #3819
Comments
Another issue which should touch the same part of the code: on cygwin we have problem with one test file which uses a EDIT: cygwin with mingw |
@bobot, can you please paste an error message about the file with a |
Unfortunately I just have |
How did you create a file with an embedded double quote under Windows? According to https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file#naming-conventions it shouldn't be possible. |
We said during the meeting that we should probably make broken symlinks and special files have uniform behavior, but I'm not sure anymore.
With that, I think we should just close the issue. @bobot, agreed? |
Can you precise or point me to the justification? We can close this issue since the failure is fixed (in windows case also). However during the meeting I think we discussed to replace the current behavior, ignoring the file, by an error delayed for when a rule use the file is executed, no? It can go to a postponed issue. |
Sorry, that was not really in the PR, but in the issues: #3546 #3124. I can only see voices for ignoring these special files.
Indeed we did. I don't know if I still agree, though. |
Expected Behavior
Not failing when a symlink pointing to a non existent file exists in the source directories
Actual Behavior
Fails during scanning
Reproduction
In the dune repository:
ln -s non-existent a_file.txt
make dev
Specifications
dune
: 01bcdbdocaml
(output ofocamlc --version
): 4.09.1The text was updated successfully, but these errors were encountered: