Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c62f17aa3aa16524a477df8f0075ac1736ec8a33
Ticket: 971976ffffffffffffffffffffffffffffffffff
Inconsistent naming in [file exists]
User & Date: vincentdarley on 2004-07-05 20:06:24
Changes

  1. icomment:
    Logged In: YES 
    user_id=32170
    
    Here are some questions that need answering:
    
    (i) What does 'file normalize wikit.vfs' do when the file
    doesn't exist but the directory does?  Is a '/' added? 
    Remember that the definition of a normalized path is the
    _unique_ representation.
    
    (ii) What does it do when (with a vfs) in some sense both exist?
    
    (iii) What does 'file normalize wiki.vfs//////' do with your
    patch?
    
    (iv) The patch needs to add lots of tests for the new behaviour:
    
    glob -dir foo/ *
    glob -path foo/ *
    file isdir foo
    file isdir foo/
    etc.
    
    (v) What does 'file isdir foo' return, when the directory
    'foo/' exists?
    
    (vi) What does 'file dirname foo/bar' return?  Just 'foo' or
    'foo/'?
    
    ...that's it for now.  (Note: (i) above is the most
    important, but I think that it has further implications).
    
    
    
    
  2. login: "vincentdarley"
  3. mimetype: "text/plain"
  4. username: "vincentdarley"