]> git.ipfire.org Git - thirdparty/ccache.git/commit
Remove win32 GetFileNameFromHandle compatibility function
authorJoel Rosdahl <joel@rosdahl.net>
Sun, 21 Jun 2020 19:29:04 +0000 (21:29 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Mon, 22 Jun 2020 19:00:08 +0000 (21:00 +0200)
commit98ba73db1984d4ea995759bdbf3f94cf16200d5a
tree8282e46fcdef487b0b9730bbb2e89e55980299d6
parent88699012b77c4827b433883845d951e8ded8cb7c
Remove win32 GetFileNameFromHandle compatibility function

The replacement function seems to be buggy, triggering failures in
x_realpath at least when the unit tests are run in Wine. The real
GetFinalPathNameByHandle function is allegedly supported in Windows
Vista and newer, so let’s just use it.

(cherry picked from commit bd742fbe20493f720ae6af00525fd3a8ee829802)
cmake/GenerateConfigurationFile.cmake
cmake/config.h.in
src/Util.cpp
src/win32compat.cpp