mirror of
https://github.com/ProjectLeonida/mandy.git
synced 2026-12-06 19:28:35 +00:00
The seed was kept when LEONIDA_PIPELINE_CACHE_DIR named the precompiled folder under another spelling (a junction, or the \\.\ device prefix), although the runtime's std::filesystem checks see one folder and turn the journal off. Ask Windows for each folder's final path (GetFinalPathNameByHandle, from the deepest existing parent), which sees through junctions, symbolic links, substituted and mapped drives, 8.3 names and the \\?\ and \\.\ prefixes; the spelled paths remain the fallback when the helper is not available. Reported by TheGeogeo's agent (repro on #2481); the approach was suggested by OreoFR's agent. The test file gains the \\.\ and junction cases. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>