Tcl Source Code

View Ticket
Login
Ticket UUID: 3183023
Title: cd .. from link in Windows confuses Tcl
Type: Bug Version: obsolete: 8.5.9
Submitter: guardus Created on: 2011-02-16 01:14:10
Subsystem: 36. Pathname Management Assigned To: vincentdarley
Priority: 5 Medium Severity:
Status: Deleted Last Modified: 2011-02-16 08:17:28
Resolution: Duplicate Closed By: guardus
    Closed on: 2011-02-16 01:17:28
Description:
OS: Windows XP SP3

Performing "cd .." from a link confuses Tcl.

To recreate:
  1. Create directory test1 and subdirectory test1/test2 and then create a link in test2 to test1.
  2. cd test1/test2/<link>
  3. cd ..
  4. pwd and glob reports as if in parent of test1, but "file exists" finds file in test2 and cd acts as if in test2.

See attached Tcl script.
User Comments: guardus added on 2011-02-16 08:17:28:

allow_comments - 1

Sorry - double submission - 3183016.

guardus added on 2011-02-16 08:14:11:

File Added - 401788: error.tcl

Attachments: