P4 to Git Change 1084288 by xcui@merged_opencl_jxcwin on 2014/10/03 20:10:38

EPR #397491 - fixed the temporary directory under windows system directory issue  for windows, because apps couldn't write into C:\windows directory.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/os/os_win32.cpp#41 edit


[ROCm/clr commit: 794dc568be]
Этот коммит содержится в:
foreman
2014-10-03 20:19:00 -04:00
родитель 20cf4f0620
Коммит 68dcf2f2d5
+1 -1
Просмотреть файл
@@ -720,7 +720,7 @@ Os::getTempPath()
char winPath[MAX_PATH];
ret = GetWindowsDirectory(winPath, MAX_PATH);
if (ret > 0) {
if (_stricmp(tempPath, winPath) == 0) {
if (_memicmp(tempPath, winPath, ret) == 0) {
return std::string(".");
}
}