Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: d02ff124e0c903aa154272eee69d82958197fdbc
Ticket: 1084705fffffffffffffffffffffffffffffffff
glob -nocomplain swallows all errors.
User & Date: jcw on 2004-12-14 23:31:53
Changes

  1. icomment:
    Logged In: YES 
    user_id=1983
    
    It would have, indeed.  I apologize for not detecting the difference (I 
    always use -nocomplain).
    
    Do we really need a TIP?  The docs do not mention eating errors in glob: 
    http://www.tcl.tk/man/tcl8.4/TclCmd/glob.htm#M7
    
    I can of course set a global flag in the driver, and check it at the call site, 
    but the current behavior sure took me by surprise.
    
    -jcw
    
    
  2. login: "jcw"
  3. mimetype: "text/plain"
  4. username: "jcw"