Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 3e1ac9bc0de5b77343acdc57c4e8bec1e90bbc6d
Ticket: 971976ffffffffffffffffffffffffffffffffff
Inconsistent naming in [file exists]
User & Date: vincentdarley on 2004-07-08 15:50:23
Changes

  1. icomment:
    Logged In: YES 
    user_id=32170
    
    Just to clarify, it appears as if the underlying OS API (on
    Windows, ActiveTcl 8.3, at least) is quite happy to say that
    'file exists tcl83.dll/' and 'file exists tcl83.dll/.' are
    true (as I demonstrated below, and Tcl 8.3 has no
    normalization), so while I agree this might be surprising to
    the user, your arguments about how the underlying OS API
    works are not quite correct.  Of course we can always just
    say this is a MSFT bug that we need to work around.  But
    perhaps there are windows script programmers who do expect
    this behaviour?
    
    Anyway, it appears as if the current proposal is that 'file
    norm' should preserve a trailing '/' (internally as well as
    externally), and that no other changes are needed beyond
    tests and docs.
    
    
    
  2. login: "vincentdarley"
  3. mimetype: "text/plain"
  4. username: "vincentdarley"