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

io_win32: support non-ASCII paths #4013

Merged
merged 6 commits into from
Dec 7, 2017

Conversation

laszlocsomor
Copy link
Contributor

Fixes #3951

Forked from #3978 per @pherl 's request #3978 (comment)

Do not use "googletest.h", apprently that leads to
linking errors on Windows which I couldn't figure
out how to solve, and decided to just go with
plain gTest instead.

See protocolbuffers#3951
If the test cannot find a temp directory by
checking environment variables, it will fall back
to using the current working directory as the temp
directory root.

This is what the test used to do as of commit
protocolbuffers@6de51ca
and what was then changed by commit
protocolbuffers@792d098
Unlike GetEnvironmentVariableW,
GetCurrentDirectoryW doesn't set
ERROR_INSUFFICIENT_BUFFER.
@grpc-kokoro
Copy link

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

1 similar comment
@grpc-kokoro
Copy link

Thanks for your pull request. The automated tests will run as soon as one of the admins verifies this change is ok for us to run on our infrastructure.

@liujisi liujisi merged commit 1b5b3b2 into protocolbuffers:3.5.x Dec 7, 2017
@laszlocsomor
Copy link
Contributor Author

Thank you @pherl ! Do I have to create a separate PR on master, or will you or someone cherrypick these on top of master?

@liujisi
Copy link
Contributor

liujisi commented Dec 8, 2017 via email

@laszlocsomor
Copy link
Contributor Author

Great, thank you @pherl !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants