Tcl Source Code

View Ticket
Login
Ticket UUID: 3183016
Title: cd .. from link in Windows confuses Tcl
Type: Bug Version: obsolete: 8.5.10
Submitter: guardus Created on: 2011-02-16 01:03:24
Subsystem: 36. Pathname Management Assigned To: vincentdarley
Priority: 5 Medium Severity:
Status: Open Last Modified: 2011-09-12 02:01:58
Resolution: None Closed By:
    Closed on:
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-09-12 02:01:58:
I could not find 961646, but I did find 849514, and this certainly seems to be similar to 849514.

I don't have 8.4 on my system.

dgp added on 2011-09-12 01:10:33:
If you could also report whether any
release of Tcl since 8.4.0 met your
expectations on the same platform,
that would be useful info.

dgp added on 2011-09-12 01:09:38:
Please review ticket 961646
and comment whether this is a
new issue distinct from that, or a
duplicate report of the same issue.
Thanks.

guardus added on 2011-09-11 00:17:59:
Same issue in ActiveTcl 8.5.10.1.

guardus added on 2011-02-16 08:03:24:

File Added - 401787: error.tcl

Attachments: