commit | 5cf7018af6a5f5f0c84c9b7d5b31d9f849503886 | [log] [tgz] |
---|---|---|
author | Ben Boeckel <ben.boeckel@kitware.com> | Fri Dec 01 22:18:20 2023 -0500 |
committer | Ben Boeckel <ben.boeckel@kitware.com> | Fri Dec 01 22:58:05 2023 -0500 |
tree | 9f7680a9ed2a1763d0464aeb10b27f910b0db21f | |
parent | 0639a32d3a27b9a89b82d915f58cfd59a634bb44 [diff] |
cmFileCopier: remember error statuses and get their strings The last error may have changed between the original call and the `GetLastSystemError()` call. Remember the status explicitly and ask it for its error string. Reported on Discourse: https://discourse.cmake.org/t/9539