Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: d859be680ee856c813b0cda0384175e486f314bb
Ticket: 2511011fffffffffffffffffffffffffffffffff
[glob] can return non-existing filenames
User & Date: dgp on 2009-02-05 05:42:22
Changes

  1. icomment:
    
    There's a related regression
    in [file tail]:
    
    % set files [glob *oo]
    ~boo ~foo
    % set files2 [glob -directory [pwd] *oo]
    /home/dgp/cvs/tcl8.4/unix/~boo /home/dgp/cvs/tcl8.4/unix/~foo
    % file tail [lindex $files2 0]
    ./~boo
    % info patch
    8.4.19
    
    
    % set files [glob *oo]
    ~foo ~boo
    % set files2 [glob -directory [pwd] *oo]
    /home/dgp/cvs/tcl8.5/unix/~foo /home/dgp/cvs/tcl8.5/unix/~boo
    % file tail [lindex $files2 0]
    ~foo
    % file tail /home/dgp/cvs/tcl8.5/unix/~foo
    ./~foo
    % info patch
    8.5.6
    
    
    The symptoms point to inconsistent
    handling of values of the "path"
    Tcl_ObjType depending on the details
    of the intrep.  Same string ought
    to produce same results, but do not.
    
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. username: "dgp"