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]
This commit is contained in:
@@ -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(".");
|
||||
}
|
||||
}
|
||||
|
||||
Fai riferimento in un nuovo problema
Block a user