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]
Ta zmiana jest zawarta w:
%! (template.HTML=
foreman)złożyło 2014-10-03 20:19:00 -04:00
1 rodzic
20cf4f0620
złożenie
68dcf2f2d5
Plik 1 zmieniony
+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(".");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Zablokuj użytkownika