Tcl Source Code

View Ticket
Login
Ticket UUID: 1080650
Title: file normalize + env(HOME)=C:
Type: Bug Created on: 2004-12-07 14:30:07
Submitter: florim Assigned to: vincentdarley
Subsystem: 08. Environment Variables Severity:
Priority: 5 Medium Last modified: 2005-10-05 12:35:01
Status: Open Closed by:
Resolution: None Closed on:
Version: None
Description:
See comp.lang.tcl 2004-12-06 "very weird effect!".
----------------------
% info patchlevel
  8.4.6
  % pwd
  C:/tmp
  % set env(HOME) c:
  c:
  % set tcl_rcFileName
  ~/tclshrc.tcl
  % file normalize  $tcl_rcFileName
  c:tclshrc.tcl
  % file normalize c:tclshrc.tcl
  C:/tmp/tclshrc.tcl
  % 

-- that's curious.
[file normalize $x] should be the same as [file 
normalize [file normalize $x]] for every input I think.
User Comments:
vincentdarley added on 2004-12-07 21:39:48:
Logged In: YES 
user_id=32170

This works correctly in Tcl8.5a2.  Haven't tested older
releases.

hobbs added on 2005-10-05 12:35:01:
Logged In: YES 
user_id=72656

This is still a bug in 8.4.11, can you identify the code
that corrected this in 8.5?