Skip to content
  • Brad King's avatar
    cmSystemTools: Revert GetRealPath implementation on Windows · 83630d49
    Brad King authored
    The use of `uv_fs_realpath` introduced by commit v3.11.0-rc1~445^2~1
    (cmSystemTools: Implement GetRealPath on Windows, 2017-10-02) causes
    `subst` drives to be expanded on Windows, breaking existing use cases.
    Revert its use until an alternative implementation can be chosen.
    
    Preserve the behavior introduced by commit v3.11.0-rc1~445^2
    (cmTimestamp: For symlinks switch to timestamp of resolved path,
    2017-10-02) by retaining use of `uv_fs_realpath` in a function of
    a different name.
    
    Fixes: #18033
    Issue: #17206
    83630d49