Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 5c038de29a5d82534b101ddc9b1c9a01b1965386
Ticket: 1787911fffffffffffffffffffffffffffffffff
array search of env
User & Date: msofer on 2007-10-28 00:11:49
Changes

  1. icomment:
    Logged In: YES 
    user_id=148712
    Originator: NO
    
    The problem is with the way EnvTraceProc works: for array traces it calls TclSetupEnv, which in turns first deletes the env variable and then recreates it. The deletion cancels all searches.
    
    What this means is that the env array cannot be searched at all. This should be either fixed or documented. 
    
    Wary to muck with this stuff, especially since:
    (a) the bug is prehistoric, raised few complaints, no tests available
    (b) the bug combines two touchy issues (array searches and env), a fix may introduce subtle new bugs
    
    Requesting comments.
    
    
    
  2. login: "msofer"
  3. mimetype: "text/plain"
  4. username: "msofer"