diff options
author | Oldřich Jedlička <oldium.pro@gmail.com> | 2023-04-26 07:26:43 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-04-26 14:40:05 (GMT) |
commit | a368a5946744191b3385774882b08a2f0cf7bd48 (patch) | |
tree | b0718f887f0bee36a7d84ce297c5f3262405f799 /Tests/FindPython/Python3Module | |
parent | 827d5b75d47126205faba26cabc8856c6d9c3362 (diff) | |
download | CMake-a368a5946744191b3385774882b08a2f0cf7bd48.zip CMake-a368a5946744191b3385774882b08a2f0cf7bd48.tar.gz CMake-a368a5946744191b3385774882b08a2f0cf7bd48.tar.bz2 |
Windows: Tolerate GetShortPathNameW failure
This function is used by NMake Makefile generator, but when shortening path
fails, it previously returned an empty string. `ERROR_ACCESS_DENIED` is
returned for paths within `C:\Program Files\WindowsApps`, which is
a special folder with limited access rights. It looks like this is
[by design](https://superuser.com/a/1730061/213587).
Fixes: #24853
Diffstat (limited to 'Tests/FindPython/Python3Module')
0 files changed, 0 insertions, 0 deletions