Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2001-04-13
23:07 • Ticket [217806ffff] Aliased procs still break upvar status still Closed wi... artifact: 3062013bb5 user: dgp
2000-10-26
07:49 • Closed ticket [217806ffff]. artifact: bb4efa2b5c user: welch
00:43 • New ticket [217806ffff]. artifact: ef09de1dda user: nobody

Aliased procs still break [upvar]

Closed / Duplicate217806ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 00:43:57
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);
welch Closed ticket [217806ffff]. [History diff]2000-10-26 07:49:19
dgp Ticket [217806ffff]: 3 changes [History diff]2001-04-13 23:07:32
Log in (anonymous is fine) to add a comment.