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.