Skip to content

io_win32: support non-ASCII paths#4013

Merged
liujisi merged 6 commits intoprotocolbuffers:3.5.xfrom
laszlocsomor:io_win32
Dec 7, 2017
Merged

io_win32: support non-ASCII paths#4013
liujisi merged 6 commits intoprotocolbuffers:3.5.xfrom
laszlocsomor:io_win32

Conversation

@laszlocsomor
Copy link
Copy Markdown
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
Copy Markdown

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
Copy Markdown

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
Copy Markdown
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
Copy Markdown
Contributor

liujisi commented Dec 8, 2017 via email

@laszlocsomor
Copy link
Copy Markdown
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