Skip to content

Fix #31502 #31557

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

Merged
merged 1 commit into from
Feb 13, 2016
Merged

Fix #31502 #31557

merged 1 commit into from
Feb 13, 2016

Conversation

retep998
Copy link
Member

This is the simple solution. I know @nodakai was working on a more complex solution that overhauled the fill_utf16_buf stuff.

r? @alexcrichton

@alexcrichton
Copy link
Member

Can you edit the commit message to explain what's going on as well? It helps to have some more context than just "Fix #XXXX"

Otherwise looks good to me, though, thanks!

@retep998
Copy link
Member Author

Renamed commit message.

@alexcrichton
Copy link
Member

@bors: r+ dc97023

@nodakai
Copy link
Contributor

nodakai commented Feb 12, 2016

Can you extend the unit test to make sure the new version indeed fixes the bug? How about calling is_dir()? It should succeed on most environments.

@retep998
Copy link
Member Author

The unit test won't actually test that branch since it requires HOME and USERPROFILE be unset.

@nodakai
Copy link
Contributor

nodakai commented Feb 13, 2016

@bors
Copy link
Collaborator

bors commented Feb 13, 2016

⌛ Testing commit dc97023 with merge a94642c...

bors added a commit that referenced this pull request Feb 13, 2016
This is the simple solution. I know @nodakai was working on a more complex solution that overhauled the `fill_utf16_buf` stuff.

r? @alexcrichton
@bors bors merged commit dc97023 into rust-lang:master Feb 13, 2016
@retep998
Copy link
Member Author

Oh, I didn't notice we had a run-pass test specifically for that. I guess it could benefit from a more aggressive check. That said, since this PR already landed I'm rather unmotivated to adjust that test.

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.

4 participants