Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2005-10-05
12:35 • Ticket [1080650fff] file normalize + env(HOME)=C: status still Open with 5 o... artifact: d2edf1bcc0 user: hobbs
2004-12-07
21:39 • Ticket [1080650fff]: 4 changes artifact: 5f13bcc5ab user: vincentdarley
14:30 • New ticket [1080650fff]. artifact: a1f0c7476c user: florim

file normalize + env(HOME)=C:

Open1080650fffffffffffffffffffffffffffffffffCreated 22 years agoUpdated 21 years ago
Descriptionplain2004-12-07 14:30:07
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.
vincentdarleyplain2004-12-07 21:39:48
Logged In: YES 
user_id=32170

This works correctly in Tcl8.5a2.  Haven't tested older
releases.
hobbsplain2005-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?
Log in (anonymous is fine) to add a comment.