Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b5ef8ef4d7343844edd17de611c3da9d5820dbdf
Ticket: 971976ffffffffffffffffffffffffffffffffff
Inconsistent naming in [file exists]
User & Date: coldstore on 2004-06-13 05:16:20
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Statement of problem:
    
    [file exists ${file}/] succeeds when [file type $file]
    eq "file"
    
    This seems inconsistent and unnecessary, and probably
    stems from [file split a/b/] eq {a b} and not {a b {}}
    
    Demonstration:
    
    # A directory:
    % file type wikit.vfs
    directory
    % file exists wikit.vfs
    1
    % file exists wikit.vfs/
    1
    
    # A file:
    % file type wikit
    file
    % file exists wikit
    1
    % file exists wikit/
    1
    
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "coldstore"
  9. subsystem changed to: "None"
  10. title changed to: "Inconsistent naming in [file exists]"
  11. type changed to: "Bug"