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
Bu işleme şunda yer alıyor:
foreman
2014-10-03 20:19:00 -04:00
ebeveyn e83684f5b0
işleme 794dc568be
+1 -1
Dosyayı Görüntüle
@@ -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(".");
}
}