-
Notifications
You must be signed in to change notification settings - Fork 5k
Conversation
9dd6831
to
b33daf3
Compare
@JeremyKuhne after digging through my logs, it looks like it's failing because when I expect the interop to return me |
You'll have to investigate to see why it fails on Unix. As a general principle we want behavior to be identical. |
@JeremyKuhne on it. |
b8b7a70
to
3591eed
Compare
@JeremyKuhne / @danmosemsft could I get a review on this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly nits, but I believe there is some missing test coverage and a possible regression with root casing.
cc: @carlossanlop |
Hey @JeremyKuhne, Implemented your suggestions. I actually got really tired one night and commited moronic code, but serendipitously I think I found some odd behavior. On all our Linux builds moving |
@carlossanlop @JeremyKuhne I switched over to checking if the dir's were case variants, and deferring to the OS for the paths. Could I get a review, and sorry this PR seems to be going on forever, but this was much more nuanced than I originally realized. |
@carlossanlop Does my rework make sense to you? At what point should I just give up 🤣 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks good. I pinged @JeremyKuhne to answer your question confirming the additional unit test. If that gets addressed, we can approve.
Edit: @Jlalond Jeremy answered your question: #40570 (comment)
Thank you for your contribution. As announced in dotnet/coreclr#27549 this repository will be moving to dotnet/runtime on November 13. If you would like to continue working on this PR after this date, the easiest way to move the change to dotnet/runtime is:
|
Fix for #40013
Allowing the moving of directories with different casing.
Thus if in a case-sensitive file system renaming Directory .\foo to .\FOO should still be allowed.
But still preventing a directory having .\foo .\fOO .\FOO
As I am no expert on inter-opting with the OS I look forward to feedback
(And I went out on a bit of a limb with the design of this change)