Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 7c2e96e549f25002909dedd235491c7c100a981cdd1b693883ab2de29388fc2f
Ticket: 3570244fffffffffffffffffffffffffffffffff
"cd .." behaves wrong if last element in pwd is a symlink
User & Date: serhiy.storchaka on 2026-10-19 18:44:30
Changes

  1. foundin changed to: "8.6.18, 9.0.5, 9.1.0"
  2. icomment:
    Still present in 8.6, 9.0 and 9.1. As dkf suspected, the cause is in normalization: when ".." follows a link, the link target is used literally ([3577801fff]). Proposed fix in branch [/timeline?r=normalize-dotdot-after-link|normalize-dotdot-after-link]: on Unix <nowiki>[cd ..]</nowiki> now goes to the parent of the link target in all five cases of the report, as <tt>cd -P ..</tt> does. Test filesystem-1.56.
    
  3. login: "serhiy.storchaka"
  4. mimetype: "text/x-fossil-wiki"