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

gtest may invoke an ANSI WIn32 API on a Unicode argument. #230

Open
GoogleCodeExporter opened this issue Jul 31, 2015 · 2 comments
Open

Comments

@GoogleCodeExporter
Copy link

When the UNICODE preprocessor symbol is not defined, the 
FilePath::FileOrDirectoryExists mehtod in gtest-filepath.cc invokes the ANSI 
version of the GetFileAttributes Win32 API while giving it a Unicode argument.

It should use GetFileAttributesW instead.

Original issue reported on code.google.com by vladlosev on 29 Nov 2009 at 11:51

@GoogleCodeExporter
Copy link
Author

Original comment by vladlosev on 29 Nov 2009 at 11:51

  • Changed title: gtest may invoke an ANSI WIn32 API on a Unicode argument.

@GoogleCodeExporter
Copy link
Author

Original comment by w...@google.com on 27 Sep 2010 at 7:12

  • Added labels: Priority-Low
  • Removed labels: Priority-Medium

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

No branches or pull requests

1 participant