Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 0b4cbf5d5c1568443ee1cec5d640d6a79d206bb99b4f34cb3a7efe84e8cb96c4
Ticket: bca391ab51cd48e76b67b6e23e505f14f07dc4df
cd and file normalize inconsistency with volume-relative paths on Windows
User & Date: sebres on 2026-09-18 16:10:58
Changes

  1. assignee changed to: "sebres"
  2. closer changed to: "nobody"
  3. icomment:
    I don't think the fix is fully correct, or rather doesn't introduce an error in case if current directory (where test-suite started) not in the first drive.
    Still worse it would be if current directory is neither in first nor in second drive.<br/>
    Moreover it seems to overwrite path unconditionally (in line 339), what causes the set path in else case doesn't matter at all.
    
    But even without that overwrite this test will fail if current directory is T:/Temp (like my TEMP folder on RAM drive T:), so the comparison <code>[file norm $path] with [file join $dir foo]</code> happens on "D:/foo" (normalized "D:foo") and "T:/Temp/foo" (what obviously never equal).
    
  4. login: "sebres"
  5. mimetype: "text/x-fossil-wiki"
  6. resolution changed to: "Rejected"
  7. status changed to: "Open"