Manifest of check-in
[9424cfeac1]
- Confirmed that every caller of TclProcCompileProc() arranges for the
procPtr and nsPtr arguments: nsPtr == procPtr->cmdPtr->nsPtr.
This makes the test in TclCompileScript() useless. TCS() will always
compile in the current namespace of the interp. Remove the code that
obfuscates that fact.
by
dgp on
2013-05-16 13:24:28.
B f7bd67736148e8b170a72b45906558ffd361de8d
C Confirmed\sthat\severy\scaller\sof\sTclProcCompileProc()\sarranges\sfor\sthe\nprocPtr\sand\snsPtr\sarguments:\snsPtr\s==\sprocPtr->cmdPtr->nsPtr.\nThis\smakes\sthe\stest\sin\sTclCompileScript()\suseless.\sTCS()\swill\salways\ncompile\sin\sthe\scurrent\snamespace\sof\sthe\sinterp.\s\sRemove\sthe\scode\sthat\nobfuscates\sthat\sfact.
D 2013-05-16T13:24:28.801
F generic/tclAssembly.c 904b2a86ab71e8d1d3dcf4db49637c9ca2216152
F generic/tclBasic.c 350c3a595fd401a1b45b1fc2e4189c8eff2876d9
F generic/tclCompCmds.c e420163a3a88360b79dad55c37528562a55c208e
F generic/tclCompile.c c786f4664ee27ef3e27396014539b982257c5551
F generic/tclCompile.h 82a0628be7091ef0e6d8c73098cb11b9bdd1a2f7
F generic/tclExecute.c 846512d995a81ea0ff98f61326042ef468c3ac09
F generic/tclInt.h 12f833078c3490e5971d17614b103bfee3862c0e
F unix/tclConfig.h.in 2eb2fff5e2f72725830b1d3ccf1fec9bcca3a5ad
P e7415ccfa37f68a727c58ab9f9c163fbffc61a37
R 2d82b2e763bf91bfa80aa9bd69243743
U dgp
Z 7684f8d28e97c24158bdc23f71210953