Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ffa78b52f3abcf1819ef59ce337cde53aec87b1b
Ticket: 420186ffffffffffffffffffffffffffffffffff
namespace import
User & Date: dgp on 2001-05-01 02:58:57
Changes

  1. assignee changed to: "dgp"
  2. foundin changed to: "obsolete: 8.4a3"
  3. icomment:
    
    
    File Added - 5866: test.tcl
    
    Logged In: YES 
    user_id=80530
    
    Attaching a simplified test script, test.tcl
    
    Exercise the bug:
    $ tclsh
    % auto_mkindex . test.tcl
    % lappend auto_path .
    % Args::Test::Main
    too many nested calls to Tcl_Eval (infinite loop?)
    
    The problem seems to be in [auto_import].  It is using
    a full [string match $pattern] to filter the names in
    auto_index, but [namespace import] is only interested in
    matches according to its stricter matching rules.  The
    wildcards should only match on command names, not parent
    namespaces.
    
    
    
  4. login: "dgp"
  5. mimetype: "text/plain"
  6. subsystem changed to: "38. Init - Library - Autoload"
  7. username: "dgp"