Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 0a92fd7bc84779ba158e846ee003713328bd6e50
Ticket: 582522ffffffffffffffffffffffffffffffffff
aliases do not fire exec traces
User & Date: msofer on 2002-07-29 20:53:14
Changes

  1. icomment:
    Logged In: YES 
    user_id=148712
    
    I'm pretty sure safety has been maintained: I only modified
    AliasObjCmd which processes aliases and never sent the flag
    TCL_INVOKE_HIDDEN to TclObjInvoke. 
    TEOVI looks for commands using Tcl_GetCommandFromObj(), so
    essentially using a cached value if (available && valid),
    and looking up by name otherwise. So the issue is: could the
    cmdName object have a cached reference to a hidden command?
    I'll build extra safety and make the Alias structure keep a
    private copy of the targetCmdName object, so that it never
    keeps a foreign cached value.
    
    BTW, traces on hidden commands are still not being fired ...
    
    
  2. login: "msofer"
  3. mimetype: "text/plain"
  4. username: "msofer"