Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ef09de1dda2f17fd98e86e6d444887cf58b758f9
Ticket: 217806ffffffffffffffffffffffffffffffffff
Aliased procs still break [upvar]
User & Date: nobody on 2000-10-26 00:43:57
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 1153 Bug
    Version: 8.1b1
    SubmitDate: '1999-02-02'
    LastModified: '1999-04-19'
    Severity: SER
    Status: Closed
    Submitter: pat
    ChangedBy: rjohnson
    RelatedBugIDs: 1556  929
    OS: Other
    Machine: NA
    FixedDate: '2000-10-25'
    ClosedDate: '1999-04-19'
    
    
    Name:
    Don Porter
    
    The Tcl 8.1a2 bug reported in <http://x13.dejanews.com/getdoc.xp?AN=418629997>
    is still present in Tcl 8.1b1 .  Also, the patch available at the same URL
    has been removed from the publicly visible set of Tcl 8.1a2 patches in the
    Scriptics Resource Center.  I don't know how to interpret this removal, so
    I'm concerned Scriptics might have lost track of this bug report and patch.
    
    Please fix this before Tcl 8.1 goes final.
    
    The patch mentioned is listed below.  This is the difference in behavior from 8.0 to 8.1 to make 
    the interp alias command evaluate at the local scope. Related bug ID 1556.
    03/23/1999 18:08 - surles -
    
    Patch:
    *** generic/tclInterp.c Thu Dec  3 22:10:02 1998
    --- generic/tclInterp.c.new     Fri Dec  4 14:48:34 1998
    ***************
    *** 1407,1413 ****
          cmdPtr = Tcl_NewListObj(prefc, prefv);
          Tcl_ListObjReplace(NULL, cmdPtr, prefc, 0, objc - 1, objv + 1);
          Tcl_ListObjGetElements(NULL, cmdPtr, &cmdc, &cmdv);
    !     result = TclObjInvokeGlobal(targetInterp, cmdc, cmdv,
                TCL_INVOKE_NO_TRACEBACK);
          Tcl_DecrRefCount(cmdPtr);
    
    --- 1407,1413 ----
          cmdPtr = Tcl_NewListObj(prefc, prefv);
          Tcl_ListObjReplace(NULL, cmdPtr, prefc, 0, objc - 1, objv + 1);
          Tcl_ListObjGetElements(NULL, cmdPtr, &cmdc, &cmdv);
    !     result = TclObjInvoke(targetInterp, cmdc, cmdv,
                TCL_INVOKE_NO_TRACEBACK);
          Tcl_DecrRefCount(cmdPtr);
    
    
    
  4. foundin changed to: "obsolete: 8.1b1"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "69. Other"
  10. title changed to: "Aliased procs still break [upvar]"
  11. type changed to: "Bug"