abakiaydin / googletest

Automatically exported from code.google.com/p/googletest
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

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

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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 commented 9 years ago

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

GoogleCodeExporter commented 9 years ago

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