Commit d396422
committed
Teuchos: Fix POSIX code in Teuchos::SystemInformation for Windows compilers
The WIN32 API includes a compatible counterpart to the POSIX functions introduced
in the commit referenced in the issue description (popen and pclose). The Windows
versions have the same parameters, return type, and behavior, but the function name
is different (_popen and _pclose). There is also a correction to the return value
from the function std::filesystem::canonical, which is being assigned to a std::string
when the function returns a std::filesystem::path.1 parent bfa0c9f commit d396422
1 file changed
+9
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
27 | 35 | | |
28 | 36 | | |
29 | 37 | | |
| |||
213 | 221 | | |
214 | 222 | | |
215 | 223 | | |
216 | | - | |
| 224 | + | |
217 | 225 | | |
218 | 226 | | |
219 | 227 | | |
| |||
0 commit comments