Skip to content

Extend libuv file translate mode workaround to all executables

Brad King requested to merge brad.king/cmake:libuv-restore-fmode into master

Since libuv commit v1.14.1~7 (win: add uv__once_init() calls, 2017-08-30) the libuv initialization of the file translate mode may take place even if we do not use a uv loop. This change was included in our libuv update by !1666 (merged). Therefore use of libuv even through cmSystemTools::GetRealPath in any executable may trigger its file translate mode setting.

Factor out the logic added to cmake.exe by !963 (merged) and re-use to initialize all executables.

Issue: #16962 (closed)

Merge request reports