Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 5555240dbde0cdbff842abe0aceb421c83932f66
Ticket: 971976ffffffffffffffffffffffffffffffffff
Inconsistent naming in [file exists]
User & Date: vincentdarley on 2004-07-06 02:07:44
Changes

  1. icomment:
    Logged In: YES 
    user_id=32170
    
    Thanks for all the clarifications.  The only thing that
    really concerns me now is this:
    
    In Tcl 8.4/8.5 at present 'file normalize $path' is a unique
    identifier for that filesystem entity.  If 'file normalize
    $path1 != file normalize $path2', then the two filesystem
    entities are different.
    
    With the behaviour explained here, this will no longer be true:
    
    file normalize foo//// == foo/
    file normalize foo      == foo
    
    but these actually refer to the same filesystem entity,
    assuming there is a directory called 'foo'.
    
    At the very least this goes against the spirit of 'file
    normalize', and this is what makes me uneasy.
    
    NB: There's a contradiction between the two answers given
    for (iii). I'm assuming the trailing '/' is the correct answer?
    
    
    
  2. login: "vincentdarley"
  3. mimetype: "text/plain"
  4. username: "vincentdarley"