Artifacts Associated With Ticket 1026493fffffffff
Ticket change [4401faa4db] (rid 116644) by msofer on 2004-09-11 22:08:54:
- assignee initialized to: "msofer"
- cmimetype initialized to: "text/plain"
- comment initialized to:
% interp alias {} a {} b a % rename a c % rename c b cannot define or rename alias "a": would create a loop This is related to Bug #707104, and the confusion between tokens and command names. - foundin initialized to: "None"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "msofer"
- subsystem initialized to: "20. [interp]"
- title initialized to:
[interp alias] and [rename]: confusing error messages
- type initialized to: "Bug"
Ticket change [42c340e099] (rid 116438) by msofer on 2004-09-12 05:27:27:
- icomment:
Logged In: YES user_id=148712 It is relatively simple to make it so that the error message becomes cannot define or rename alias to "b": would create a loop by replacing 'aliasPtr->name' with 'Tcl_GetCommandName(cmdInterp, cmd)' in two error messages in the function TclPreventAliasLoop(). It seems rather more involved to obtain cannot define or rename alias "c": would create a loop
- login: "msofer"
- mimetype: "text/plain"
- username: "msofer"
- icomment:
Ticket change [3737eb111b] (rid 107236) by msofer on 2004-09-12 09:06:45:
- icomment:
Logged In: YES user_id=148712 This bug is fixed by the patch 707104.patch2 attached to bug 707104.
- login: "msofer"
- mimetype: "text/plain"
- username: "msofer"
- icomment:
Ticket change [28f99eef34] (rid 88793) by msofer on 2004-09-15 00:47:13:
- closedate changed to: "2004-09-14T17:47:13"
- closer changed to: "msofer"
- icomment:
Logged In: YES user_id=148712 Patch to 707104 committed, this is fixed.
- login: "msofer"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "msofer"
Ticket change [8228c2f109] (rid 117179) by dgp on 2004-10-27 00:44:21:
- icomment:
Logged In: YES user_id=80530 consider a backport for 8.4.8
- login: "dgp"
- mimetype: "text/plain"
- priority changed to: "9 Immediate"
- username: "dgp"
- icomment:
Add attachment "1026493-8.4.patch" [336a1b5f08] (rid 106594) by msofer on 2004-10-31 03:32:13.
Ticket change [99424a547b] (rid 110758) by msofer on 2004-10-31 03:32:13:
- assignee changed to: "dgp"
- icomment:
File Added - 107063: 1026493-8.4.patch Logged In: YES user_id=148712 Not sure about backporting: the fix of [Bug 707104] in HEAD changes the behaviour of aliases, and requires doc changes too. IMHO, not to be done in the stable branch. OTOH, a partial fix of the error message only is feasible (patch attached, not committed). But it does require changing tests interp-17.4-5. Isn't such a thing a no-no for the stable branch? As this particular bug is relatively harmless ... your call.
- login: "msofer"
- mimetype: "text/plain"
- status changed to: "Open"
- username: "msofer"
Ticket change [53f1d8946b] (rid 93851) by dgp on 2004-11-01 04:05:57:
- assignee changed to: "msofer"
- closedate changed to: "2004-10-31T21:05:57"
- closer changed to: "dgp"
- icomment:
Logged In: YES user_id=80530 if there's any doubt, then skip it. Just wanted to be sure it was considered.
- login: "dgp"
- mimetype: "text/plain"
- status changed to: "Closed"
- username: "dgp"