Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: d36de91d71bbbc90d4a108d3a06820eb18916170
Ticket: 475941ffffffffffffffffffffffffffffffffff
glob not returning filenames...
User & Date: vincentdarley on 2001-10-29 19:50:22
Changes

  1. icomment:
    Logged In: YES 
    user_id=32170
    
    I can see a perhaps-related bug in WinTcl which appeared 
    around a month or so ago in cvs.  Adding these two tests to 
    fileName.test:
    
    test filename-11.25.1 {Tcl_GlobCmd} {
        list [catch {lsort [glob -type {d r} -dir $globname *]} 
    msg] $msg
    } [list 0 [lsort [list [file join $globname a1]\
      [file join $globname a2]\
      [file join $globname a3]]]]
    test filename-11.25.2 {Tcl_GlobCmd} {
        list [catch {lsort [glob -type {d r w} -dir $globname 
    *]} msg] $msg
    } [list 0 [lsort [list [file join $globname a1]\
      [file join $globname a2]\
      [file join $globname a3]]]]
    
    shows up that bug (put the above tests after filename-
    11.25), but, looking at the code, it doesn't seem to be the 
    same as your bug, which I can't reproduce (on Windows).
    
    Can you tell me if your bug above is still shown if you 
    remove the '-types' argument?
    
    
    
  2. login: "vincentdarley"
  3. mimetype: "text/plain"
  4. username: "vincentdarley"