|
2007-09-14
| ||
| 21:58 | • Closed ticket [1519940fff]: Tcl_CreateObjCommand calls TclInvalidateNsPath twice... artifact: 3b3336fe05 user: dkf | |
| 14:58 | Only invalidate the namespace path once on command creation. [1519940] check-in: a06f517fb7 user: dkf tags: trunk | |
|
2006-07-10
| ||
| 22:42 | • Ticket [1519940fff] Tcl_CreateObjCommand calls TclInvalidateNsPath twice sta... artifact: d7c356599a user: dkf | |
| 20:11 | • Ticket [1519940fff]: 1 change artifact: 4f8429a591 user: fridolin | |
| 13:10 | • New ticket [1519940fff]. artifact: 4aa2ff5eb3 user: fridolin | |
Tcl_CreateObjCommand calls TclInvalidateNsPath twice
Closed / Fixed1519940fffffffffffffffffffffffffffffffffCreated 20 years agoUpdated 19 years ago
Descriptionplain2006-07-10 13:10:47
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 ----
fridolin Ticket [1519940fff]: 1 change
[History diff]2006-07-10 20:11:46
dkf Ticket [1519940fff]: 1 change
[History diff]2006-07-10 22:42:33
dkf Closed ticket [1519940fff].
[History diff]2007-09-14 21:58:38
Log in (anonymous is fine) to add a comment.