Overview
| Artifact ID: | 4aa2ff5eb3956b30e571540e5578df19acc7a865 |
|---|---|
| Ticket: | 1519940fffffffffffffffffffffffffffffffff
Tcl_CreateObjCommand calls TclInvalidateNsPath twice |
| User & Date: | fridolin on 2006-07-10 13:10:47 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
Hi, compare Tcl_CreateCommand and Tcl_CreateObjCommand. The first call of TclInvalidateNsPath() seems to make no sense. There is a second call in the else-branch of if. Christoph Bauer 1-liner patch: *** tclBasic.c.orig 2006-07-10 15:04:18.000000000 +0200 --- tclBasic.c 2006-07-10 15:03:53.000000000 +0200 *************** *** 1656,1662 **** } hPtr = Tcl_CreateHashEntry(&nsPtr->cmdTable, tail, &new); - TclInvalidateNsPath(nsPtr); if (!new) { cmdPtr = (Command *) Tcl_GetHashValue(hPtr); --- 1656,1661 ---- - foundin changed to: "None"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "fridolin"
- subsystem changed to: "None"
- title changed to:
Tcl_CreateObjCommand calls TclInvalidateNsPath twice
- type changed to: "Patch"