27 Mar
2025
27 Mar
'25
10:56 a.m.
On Wed Mar 26 10:42:18 2025 +0000, Zhiyi Zhang wrote:
What really happen should probably be RtlGetCurrentPeb()->IsLongPathAwareProcess = is_win10_1607_or_later() && is_longpath_enabled_in_reg() && is_longpath_enabled_in_manifest(); Then other functions just check RtlGetCurrentPeb()->IsLongPathAwareProcess. And, of course, please test it. You can manually test the PEB field or add a conformance test to test the field. The latter is preferred. Thank you for your advice, I will modify and test it.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/7540#note_99225