Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: cb69a5cfa41d8b50b19d2d5deb1ea34fb5c2d51e
Ticket: 1119798fffffffffffffffffffffffffffffffff
Use of glob command does not use '-types f' switch
User & Date: mpettigr on 2005-02-10 03:34:54
Changes

  1. assignee changed to: "dgp"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Problem: The tcltest package use of the glob command 
    is too inclusive since it will match on directory names as 
    well as file names.
    
    For example if a directory listing is as follows:
    
    all.tcl
    b.txt
    c.txt
    foo [d]
    
    where foo is a directory.  The command (assume all.tcl 
    is 'standard' all.tcl as suggested in the tcltest doc):
    
    tclsh all.tcl -file foo* 
    
    will match and try to run the directory foo. 
    
    Solution:
    
    Add '-types f' switch to the use of glob commands in 
    the tcltest package.  Note: The '-types f' is available in 
    version 8.3 of Tcl so the 'package require Tcl 8.3' does 
    not need to be updated.
    
    
    
  4. foundin changed to: "obsolete: 8.4.9"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "mpettigr"
  9. subsystem changed to: "34. tcltest Package"
  10. title changed to: "Use of glob command does not use '-types f' switch"
  11. type changed to: "Bug"