Skip to content
Tcl Source Code Artifact [eb503f31e6]
Login

Artifact [eb503f31e6]

Artifact eb503f31e6698e2bdd490284395ed7aca00aa5ea66ed3d7e0ae16ac6cd780371:

Ticket change [eb503f31e6] - Ticket [16fe1b5807820bb9|16fe1b5807] <i>namespace ensemble command named &quot;:&quot; is mistakenly given the empty string as its name</i> status still Open with 3 other changes by pooryorick on 2017-11-18 21:04:04.
D 2017-11-18T21:04:04.233
J icomment Fixed\sin\s[b433ae397cddec65].\r\n\r\nThe\sissue\swas\sthat\s<code>namespace.c/NsEnsembleImplementationCmdNR</code>,\r\nwhich\sis\sresponsible\sfor\sresolving\saned\sevaluating\snamespace\sensemble\scommands,\r\n[https://core.tcl.tk/tcl/artifact?ln=1735&name=9cf6780328312995|calls\r\nBuildEnsembleConfig]\s,\swhich\r\n[https://core.tcl.tk/tcl/artifact?ln=2640&name=9cf6780328312995|slaps\stogether]\r\na\sfully-qualified\sname\sfor\san\sexported\scommand.\r\n\r\nI\smodified\s<code>BuildEnsembleConfig</code>\r\n[https://core.tcl.tk/tcl/artifact?ln=2671,2679=on&name=e41dd54b9eb45fca|to\sstop\r\nbuilding\sup\sfully-qualified\snames],\sand\sthen\smodified\r\n<code>NsEnsembleImplementationCmdNR</code>\r\n[https://core.tcl.tk/tcl/artifact?ln=1924,1925&name=e41dd54b9eb45fca|to\suse\sthe\r\nnamespace\sfor\scomand\slookup]\srather\sthan\susing\sa\sfully-qualified\sname.\r\n\r\nOn\sthe\s"front\send",\sI\srelieved\s<code>TclProcObjCmd</code>\r\n[https://core.tcl.tk/tcl/artifact?ln=144-145&name=0be3006f576cb9aa|of\sthe\r\nduty\sof\sslapping\stogether\sa\sfully-qualified\sname],\sand\screated\r\n[https://core.tcl.tk/tcl/artifact?ln=8213-8226&name=e33d6838e61d9a4f|tclNRCreateCommandInNs]\r\nfor\sit\sto\scall\sinstead\sof\scalling\s<code>tclNRCreateCommand</code>,\swhich\r\ndoesn't\saccept\sa\snamespace.\s\sThis\sin\sturn\srequired\sthe\screation\sof\r\n[https://core.tcl.tk/tcl/artifact?ln=2288&name=e33d6838e61d9a4f|tclCreateObjectCommandInNs],\r\nand\r\n[https://core.tcl.tk/tcl/artifact?ln=2237&name=e33d6838e61d9a4f|Tcl_CreateObjCommand]\r\nbecomes\sa\sthin\swrapper\sover\sthat.\r\n\r\n[https://core.tcl.tk/tcl/artifact?ln=2427&name=d80559c9d6db894d|TclEnsureNamespace]\r\nis\sa\snew\sutility\scommand\sthat,\sgiven\sa\snamespace,\seither\sreturns\sthat\r\nnamespace,\sor\sif\sthat\snamespace\sis\sin\sa\sdeleted\sstate,\sreturns\sa\snew\snamespace\r\nin\sits\splace.
J login pooryorick
J mimetype text/x-fossil-wiki
K 16fe1b5807820bb9705b460959f459989ec06404
U pooryorick
Z b1bb037470d9a71ed417da092fd722f1